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 {
|
if ok {
|
||||||
chainWatcher.Stop()
|
chainWatcher.Stop()
|
||||||
}
|
}
|
||||||
|
delete(c.activeWatchers, chanPoint)
|
||||||
c.Unlock()
|
c.Unlock()
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user