plugin: register `shutdown` instead of `plugin_shutdown` in notifications list

This commit is contained in:
Simon Vrouwe 2021-09-09 11:02:19 +03:00 committed by Rusty Russell
parent 84957be410
commit a308fb17b2
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,7 @@ void notify_channel_open_failed(struct lightningd *ld,
plugins_notify(ld->plugins, take(n));
}
REGISTER_NOTIFICATION(plugin_shutdown, NULL);
REGISTER_NOTIFICATION(shutdown, NULL);
bool notify_plugin_shutdown(struct lightningd *ld, struct plugin *p)
{