mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-30 04:32:33 +02:00
In this commit, we extend the chainWatcher to be able to automatically detect co-op closes of the channel. With this change, it’s now fully encompassed so able to detect all types of closes on-chain. We detect a co-op close due to the sequence number being finalized, as well as paying to us directly in a regular p2wkh-like output.