mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-21 22:31:48 +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:
parent
a9d0550cf4
commit
eb0b3d7b09
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue