mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
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
This commit is contained in:
parent
3e9f60011e
commit
5d388b3128
@ -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…
Reference in New Issue
Block a user