mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
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>
This commit is contained in:
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user