Commit e4a02287 authored by protolambda's avatar protolambda Committed by GitHub

op-node: p2p peer-monitor review min-score threshold fix

parent bd55b36f
......@@ -86,7 +86,7 @@ func (p *PeerMonitor) checkNextPeer() error {
if err != nil {
return fmt.Errorf("retrieve score for peer %v: %w", id, err)
}
if score > p.minScore {
if score >= p.minScore {
return nil
}
if p.manager.IsStatic(id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment