mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
fixup! Use node_id everywhere for nodes.
Suggested-by: @cdecker Suggested-by: @niftynei
This commit is contained in:
parent
a2fa699e0e
commit
4c9d9b2e05
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user