lightningd: remove msatoshi alias for amount_msat.
Changelog-Removed: JSON-RPC: `invoice`, `sendonion`, `sendpay`, `pay`, `keysend`, `fetchinvoice`, `sendinvoice`: `msatoshi` argument (deprecated 0.12.0). Use `amount_msat`. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -913,7 +913,7 @@ static struct command_result *json_fetchinvoice(struct command *cmd,
|
||||
|
||||
if (!param(cmd, buffer, params,
|
||||
p_req("offer", param_offer, &sent->offer),
|
||||
p_opt("amount_msat|msatoshi", param_msat, &msat),
|
||||
p_opt("amount_msat", param_msat, &msat),
|
||||
p_opt("quantity", param_u64, &quantity),
|
||||
p_opt("recurrence_counter", param_number, &recurrence_counter),
|
||||
p_opt("recurrence_start", param_number, &recurrence_start),
|
||||
|
||||
Reference in New Issue
Block a user