Browse Source

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 <rusty@rustcorp.com.au>
pyln
Rusty Russell 4 years ago
parent
commit
288aa397fc
  1. 4
      lightningd/plugin_control.c

4
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)));

Loading…
Cancel
Save