From 5d388b31287b8b89efdc46cc3ada5369c67049d1 Mon Sep 17 00:00:00 2001 From: niftynei Date: Thu, 10 Dec 2020 14:05:52 -0600 Subject: [PATCH] df: there's only one state that we should be in for a `dualopend` and that's DUALOPEND_AWAITING_LOCKIN; we'll have moved over to subd type 'channeld' if we're in CHANNELD_NORMAL --- lightningd/channel_control.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lightningd/channel_control.c b/lightningd/channel_control.c index bf1c917c3..5085f3c82 100644 --- a/lightningd/channel_control.c +++ b/lightningd/channel_control.c @@ -633,8 +633,7 @@ bool channel_tell_depth(struct lightningd *ld, } if (streq(channel->owner->name, "dualopend")) { - if (channel->state != DUALOPEND_AWAITING_LOCKIN - && channel->state != CHANNELD_NORMAL) { + if (channel->state != DUALOPEND_AWAITING_LOCKIN) { log_debug(channel->log, "Funding tx %s confirmed, but peer in" " state %s",