mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-23 15:00:34 +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:
parent
00115ee7f0
commit
288aa397fc
1 changed files with 0 additions and 4 deletions
|
@ -114,10 +114,6 @@ plugin_dynamic_stop(struct command *cmd, const char *plugin_name)
|
||||||
plugin_name);
|
plugin_name);
|
||||||
plugin_kill(p, "stopped by lightningd via RPC");
|
plugin_kill(p, "stopped by lightningd via RPC");
|
||||||
response = json_stream_success(cmd);
|
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",
|
json_add_string(response, "result",
|
||||||
take(tal_fmt(NULL, "Successfully stopped %s.",
|
take(tal_fmt(NULL, "Successfully stopped %s.",
|
||||||
plugin_name)));
|
plugin_name)));
|
||||||
|
|
Loading…
Add table
Reference in a new issue