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:
lisa neigut 2019-05-24 17:38:41 -07:00 committed by Rusty Russell
parent a9d0550cf4
commit eb0b3d7b09

View file

@ -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));
}