Browse Source

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
ppa
niftynei 4 years ago
committed by Christian Decker
parent
commit
5d388b3128
  1. 3
      lightningd/channel_control.c

3
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",

Loading…
Cancel
Save