libplugin: Add notification topics to plugin_main

This commit is contained in:
Christian Decker
2021-04-28 17:28:27 +02:00
committed by Rusty Russell
parent e02e972729
commit f963a6a551
11 changed files with 21 additions and 8 deletions

View File

@@ -146,6 +146,7 @@ int main(int argc, char *argv[])
plugin_main(argv, init, PLUGIN_RESTARTABLE, true, NULL,
commands, ARRAY_SIZE(commands),
notifs, ARRAY_SIZE(notifs), hooks, ARRAY_SIZE(hooks),
NULL, 0, /* Notification topics we publish */
plugin_option("name",
"string",
"Who to say hello to.",