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:
Vincenzo Palazzo
2024-11-02 15:22:53 +01:00
committed by Rusty Russell
parent 93ba08a537
commit 6309503692

View File

@@ -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 */
}