mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-04-01 16:39:04 +02:00
In this commit, we modify the construction of the channel arbitrator to accept a pointer to an event stream from the chain watcher that’s been assigned to that channel. As a result, we no longer need a fresh unilateral close signal, as the one we get from the chain watcher will *always* be up to date. For each active channel, we’ll now create a chainWatcher instance that will be around until the channel is fully closed on chain.