diff --git a/plugins/libplugin.c b/plugins/libplugin.c index c11be93ca..b23baade6 100644 --- a/plugins/libplugin.c +++ b/plugins/libplugin.c @@ -235,8 +235,7 @@ bool command_deprecated_out_ok(struct command *cmd, return deprecated_ok(command_deprecated_ok_flag(cmd), tal_fmt(tmpctx, "%s.%s", cmd->methodname, fieldname), depr_start, depr_end, - /* FIXME: Get api begs from lightningd! */ - NULL, + cmd->plugin->beglist, NULL, NULL); }