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