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 <vincenzopalazzodev@gmail.com>
This commit is contained in:
committed by
Rusty Russell
parent
93ba08a537
commit
6309503692
@@ -881,7 +881,7 @@ struct command_result *json_fetchinvoice(struct command *cmd,
|
||||
} else {
|
||||
if (!msat)
|
||||
return command_fail(cmd, JSONRPC2_INVALID_PARAMS,
|
||||
"msatoshi parameter required");
|
||||
"amount_msat parameter required");
|
||||
invreq->invreq_amount = tal_dup(invreq, u64,
|
||||
&msat->millisatoshis); /* Raw: tu64 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user