From 1e4ff724a54350d1d04db2568b94d1efa63ffe63 Mon Sep 17 00:00:00 2001 From: niftynei Date: Tue, 19 Jan 2021 19:39:35 -0600 Subject: [PATCH] nit: make comments 80 chars --- lightningd/dual_open_control.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/lightningd/dual_open_control.c b/lightningd/dual_open_control.c index 081b7c8c7..9414215ab 100644 --- a/lightningd/dual_open_control.c +++ b/lightningd/dual_open_control.c @@ -1746,8 +1746,11 @@ static struct command_result *json_openchannel_init(struct command *cmd, struct amount_sat in_amt = psbt_input_get_amount(psbt, i); if (!amount_sat_add(&psbt_val, psbt_val, in_amt)) return command_fail(cmd, JSONRPC2_INVALID_PARAMS, - "Overflow in adding PSBT input values. %s", - type_to_string(tmpctx, struct wally_psbt, psbt)); + "Overflow in adding PSBT input" + " values. %s", + type_to_string(tmpctx, + struct wally_psbt, + psbt)); } /* If they don't pass in at least enough in the PSBT to cover @@ -1756,8 +1759,12 @@ static struct command_result *json_openchannel_init(struct command *cmd, return command_fail(cmd, FUND_CANNOT_AFFORD, "Provided PSBT cannot afford funding of " "amount %s. %s", - type_to_string(tmpctx, struct amount_sat, amount), - type_to_string(tmpctx, struct wally_psbt, psbt)); + type_to_string(tmpctx, + struct amount_sat, + amount), + type_to_string(tmpctx, + struct wally_psbt, + psbt)); fc->funding = *amount; if (!feerate_per_kw_funding) {