From 288aa397fce13663940dd24cdb55132aa5a847f0 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 15 Sep 2020 14:23:12 +0930 Subject: [PATCH] lightningd: remove deprecated result for `plugin stop`. Changelog-Removed: JSON API: `plugin stop` result with an empty ("") key (deprecated 0.8.1) Signed-off-by: Rusty Russell --- lightningd/plugin_control.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lightningd/plugin_control.c b/lightningd/plugin_control.c index 047122a05..523c14d8c 100644 --- a/lightningd/plugin_control.c +++ b/lightningd/plugin_control.c @@ -114,10 +114,6 @@ plugin_dynamic_stop(struct command *cmd, const char *plugin_name) plugin_name); plugin_kill(p, "stopped by lightningd via RPC"); response = json_stream_success(cmd); - if (deprecated_apis) - json_add_string(response, "", - take(tal_fmt(NULL, "Successfully stopped %s.", - plugin_name))); json_add_string(response, "result", take(tal_fmt(NULL, "Successfully stopped %s.", plugin_name)));