-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore non-relayed incoming HTLCs when closing (#2672)
If we force-close with HTLCs that have just been signed by our peer but for which we haven't received their revocation, we should ignore them. We have not relayed those HTLCs so they can't be fulfilled. It is our peer's responsibility to claim them on-chain (using their HTLC-timeout), but if for some reason they don't claim it, we don't want the channel to be stuck in the closing state. Fixes #2669
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters