You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While debugging an issue on Greenlight, we found that one of the nodes
had forgotten a channel that it was waiting to confirm. This was caused by the "forget non-confirming channel" logic here:
The problem is that this code assumes that a channel that we aren't
funding cannot hold any funds that we own, hence we can forget the
channel without any issues. This used to be true until we introduced zeroconf support. Now even unconfirmed channels may contain owned
funds, if they are zeroconf channels.
We need to adjust the logic to skip channels that are zeroconf && owned_sats > 0.
The text was updated successfully, but these errors were encountered:
While debugging an issue on Greenlight, we found that one of the nodes
had forgotten a channel that it was waiting to confirm. This was caused by the "forget non-confirming channel" logic here:
lightning/lightningd/channel_control.c
Line 2007 in b5eef8a
The problem is that this code assumes that a channel that we aren't
funding cannot hold any funds that we own, hence we can forget the
channel without any issues. This used to be true until we introduced
zeroconf
support. Now even unconfirmed channels may contain ownedfunds, if they are
zeroconf
channels.We need to adjust the logic to skip channels that are
zeroconf && owned_sats > 0
.The text was updated successfully, but these errors were encountered: