mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-11 04:02:46 +02:00
contractcourt/chain_arbitrator: delete watcher from activeWatchers
This commit is contained in:
@@ -301,6 +301,7 @@ func (c *ChainArbitrator) resolveContract(chanPoint wire.OutPoint,
|
|||||||
if ok {
|
if ok {
|
||||||
chainWatcher.Stop()
|
chainWatcher.Stop()
|
||||||
}
|
}
|
||||||
|
delete(c.activeWatchers, chanPoint)
|
||||||
c.Unlock()
|
c.Unlock()
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
Reference in New Issue
Block a user