breacharbiter: fix bug, don't exit main loop due to unknown contract

This commit is contained in:
Olaoluwa Osuntokun committed 2016-11-28 20:08:06 -08:00
1 parent 494fcec874
commit 71c6e837e3
1 file changed
+3 -1
+3 -1
View File
@@ -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, "+