mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
cleanup: rename json_add_amount_msat_only to json_add_amount_msat
Now there's no compat variant, we can rename this function. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -150,7 +150,7 @@ static void check_preapprovekeysend_start(void *d UNUSED, struct payment *p)
|
||||
&preapprovekeysend_rpc_failure, p);
|
||||
json_add_node_id(req->js, "destination", p->destination);
|
||||
json_add_sha256(req->js, "payment_hash", p->payment_hash);
|
||||
json_add_amount_msat_only(req->js, "amount_msat", p->amount);
|
||||
json_add_amount_msat(req->js, "amount_msat", p->amount);
|
||||
(void) send_outreq(p->plugin, req);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user