From 99293844a100d09f1c415a49458b6f061fbe6837 Mon Sep 17 00:00:00 2001 From: niftynei Date: Thu, 10 Sep 2020 14:15:35 -0500 Subject: [PATCH] dualopend: use status_failed, not peer_failed --- openingd/dualopend.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openingd/dualopend.c b/openingd/dualopend.c index 6ae110a4e..5357cdb34 100644 --- a/openingd/dualopend.c +++ b/openingd/dualopend.c @@ -1102,8 +1102,9 @@ static u8 *accepter_start(struct state *state, const u8 *oc2_msg) tal_hex(tmpctx, msg)); if (!amount_sat_to_msat(&our_msats, state->accepter_funding)) - peer_failed(state->pps, &state->channel_id, - "Rounding error on client."); + status_failed(STATUS_FAIL_INTERNAL_ERROR, + "Overflow converting accepter_funding " + "to msats"); state->channel = new_initial_channel(state, &state->channel_id,