mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
json: correct error message for param parser
Looks like copy-paste from another commit didn't update the field for this
This commit is contained in:
committed by
Rusty Russell
parent
a9d0550cf4
commit
eb0b3d7b09
@@ -88,7 +88,7 @@ struct command_result *param_node_id(struct command *cmd,
|
||||
return NULL;
|
||||
|
||||
return command_fail(cmd, JSONRPC2_INVALID_PARAMS,
|
||||
"'%s' should be a pubkey, not '%.*s'",
|
||||
"'%s' should be a node id, not '%.*s'",
|
||||
name, json_tok_full_len(tok),
|
||||
json_tok_full(buffer, tok));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user