-
Notifications
You must be signed in to change notification settings - Fork 871
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
HTLC timeout transaction sweep is never run due to integer underflow #7305
Labels
Comments
I've seen this before on a vanilla 23.11 #6951 (comment) |
I've got one too on:
Logs believed to be available, anything you want me to look for? |
This cosmetic only, and has been there for a long time. I keep meaning to fix it, but nobody complained before so I figured I'm the only one looking at the logs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue and Steps to Reproduce
We (Greenlight) got a number of reports of missing sweeps of HTLC timeout transactions, due to a potential integer underflow issue. The symptoms are as follows:
(1 - 65) % UINT32_MAX
, which is very suspicious.My intuition is that this is an underflow in the
u32
used to plan the execution of the transaction.getinfo
outputYes, this has some small changes to the way UTXOs are tracked in the DB, but other than that it does not have any modification from the CLN in this repository.
The text was updated successfully, but these errors were encountered: