mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
contractcourt/chain_arbitrator: delete watcher from activeWatchers
This commit is contained in:
parent
327420d854
commit
1c43a0cb36
@ -301,6 +301,7 @@ func (c *ChainArbitrator) resolveContract(chanPoint wire.OutPoint,
|
||||
if ok {
|
||||
chainWatcher.Stop()
|
||||
}
|
||||
delete(c.activeWatchers, chanPoint)
|
||||
c.Unlock()
|
||||
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user