breacharbiter: fix bug, don't exit main loop due to unknown contract
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -202,7 +202,9 @@ out:
|
||||
// breachObserver detected to the channel.
|
||||
killSignal, ok := b.breachObservers[*chanPoint]
|
||||
if !ok {
|
||||
return
|
||||
brarLog.Errorf("Unable to find contract: %v",
|
||||
chanPoint)
|
||||
continue
|
||||
}
|
||||
|
||||
brarLog.Debugf("ChannelPoint(%v) has been settled, "+
|
||||
|
||||
Reference in new issue
Block a user