From 4c9d9b2e05734e33955cf4635f7ba1025b274801 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 8 Apr 2019 19:28:43 +0930 Subject: [PATCH] fixup! Use node_id everywhere for nodes. Suggested-by: @cdecker Suggested-by: @niftynei --- lightningd/pay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightningd/pay.c b/lightningd/pay.c index abc278170..77efc8efe 100644 --- a/lightningd/pay.c +++ b/lightningd/pay.c @@ -613,7 +613,7 @@ send_payment(struct lightningd *ld, ids[i] = route[i].nodeid; /* JSON parsing checked these were valid, so Shouldn't Happen */ if (!pubkey_from_node_id(&path[i], &ids[i])) { - return command_fail(cmd, PAY_RHASH_ALREADY_USED, + return command_fail(cmd, PAY_UNSPECIFIED_ERROR, "Invalid nodeid %s", type_to_string(tmpctx, struct node_id,