Skip to content

Commit 6309503

Browse files
vincenzopalazzorustyrussell
authored andcommitted
bolt12: fix typo about parameters name in err str
Changelog-Fixed: bolt12: fix typo about parameters name in err str Signed-off-by: Vincenzo Palazzo <[email protected]>
1 parent 93ba08a commit 6309503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/fetchinvoice.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ struct command_result *json_fetchinvoice(struct command *cmd,
881881
} else {
882882
if (!msat)
883883
return command_fail(cmd, JSONRPC2_INVALID_PARAMS,
884-
"msatoshi parameter required");
884+
"amount_msat parameter required");
885885
invreq->invreq_amount = tal_dup(invreq, u64,
886886
&msat->millisatoshis); /* Raw: tu64 */
887887
}

0 commit comments

Comments
 (0)