From eb0b3d7b0980bfd2a57e0dd8c14e71fc30f27131 Mon Sep 17 00:00:00 2001 From: lisa neigut Date: Fri, 24 May 2019 17:38:41 -0700 Subject: [PATCH] json: correct error message for param parser Looks like copy-paste from another commit didn't update the field for this --- lightningd/json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/json.c b/lightningd/json.c index 117d60b52..09b876343 100644 --- a/lightningd/json.c +++ b/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)); }