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:
Rusty Russell
2023-03-14 15:51:50 +10:30
parent 983542f2a7
commit 9366e6b39f
29 changed files with 129 additions and 145 deletions

View File

@@ -440,8 +440,7 @@ psbt_funded(struct command *cmd,
response = jsonrpc_stream_success(cmd);
json_add_string(response, "result", "continue");
json_add_psbt(response, "psbt", psbt);
json_add_amount_msat_only(response, "our_funding_msat",
our_funding_msat);
json_add_amount_msat(response, "our_funding_msat", our_funding_msat);
/* If we're accepting an lease request, *and* they've
* requested one, fill in our most recent infos */