mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-08 16:44:22 +01:00
plugins: update for new deprecation API where all fields are nicely wrapped.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1055,7 +1055,7 @@ static struct command_result *json_disconnect(struct command *cmd,
|
||||
const char *err;
|
||||
|
||||
err = json_scan(tmpctx, buf, params,
|
||||
"{id:%}",
|
||||
"{disconnect:{id:%}}",
|
||||
JSON_SCAN(json_to_node_id, &id));
|
||||
if (err)
|
||||
plugin_err(cmd->plugin,
|
||||
|
||||
Reference in New Issue
Block a user