mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-22 14:34:33 +01:00
libplugin: Add notification topics to plugin_main
This commit is contained in:
committed by
Rusty Russell
parent
e02e972729
commit
f963a6a551
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user