Browse Source

json: correct error message for param parser

Looks like copy-paste from another commit didn't update
the field for this
pull/2938/head
lisa neigut 6 years ago
committed by Rusty Russell
parent
commit
eb0b3d7b09
  1. 2
      lightningd/json.c

2
lightningd/json.c

@ -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…
Cancel
Save