contractcourt/chain_arbitrator: delete watcher from activeWatchers

This commit is contained in:
Johan T. Halseth 2018-06-19 12:25:30 +01:00
parent 327420d854
commit 1c43a0cb36
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -301,6 +301,7 @@ func (c *ChainArbitrator) resolveContract(chanPoint wire.OutPoint,
if ok {
chainWatcher.Stop()
}
delete(c.activeWatchers, chanPoint)
c.Unlock()
return nil