From d49db8ad417e8213f4304ed4146989e2261538ab Mon Sep 17 00:00:00 2001 From: niftynei Date: Tue, 19 Jan 2021 19:37:29 -0600 Subject: [PATCH] df: do the right thing, now that we have a cancellation routine removes a fixme --- lightningd/dual_open_control.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lightningd/dual_open_control.c b/lightningd/dual_open_control.c index b43e7a234..99080c201 100644 --- a/lightningd/dual_open_control.c +++ b/lightningd/dual_open_control.c @@ -1427,7 +1427,9 @@ static void rbf_got_offer(struct subd *dualopend, const u8 *msg) &payload->locktime)) { log_broken(channel->log, "Malformed dualopend_got_rbf_offer %s", tal_hex(msg, msg)); - // FIXME: is this the right thing to do here? + unsaved_channel_disconnect(channel, LOG_BROKEN, + "Malformed internal wire message"); + subd_release_channel(dualopend, channel); tal_free(dualopend); return; }