-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug assertion confirmation_height >= latest_broadcast_height
triggers frequently
#3456
Comments
confirmation_height < latest_broadcast_height
triggers frequentlyconfirmation_height >= latest_broadcast_height
triggers frequently
Huh, how are you syncing the sweeper? Via |
Yes, it's syncing via It looks like rust-lightning/lightning-transaction-sync/src/esplora.rs Lines 165 to 210 in a688f1c
I made a reproduction of this problem. It typically occurs when force closing a channel.
|
Hmm, I see. We could consider removing the |
Would be nice, but we shouldn't leave a known-reachable debug assertion in place either :/. I assume there's no actual logic bug here, right? |
rust-lightning/lightning/src/util/sweep.rs
Lines 171 to 184 in a688f1c
This debug assertion frequently triggers on both regtest and testnet. As it's possible for a new tx broadcast to be attempted before we receive the confirmation notification, would it be better to remove this debug assertion?
The text was updated successfully, but these errors were encountered: