We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents afa0c46 + 756d31a commit b316476Copy full SHA for b316476
src/main/scala/io/iohk/ethereum/network/PeerManagerActor.scala
@@ -542,7 +542,7 @@ object PeerManagerActor {
542
val maybeAgeSeconds = stat.firstSeenTimeMillis
543
.map(currentTimeMillis - _)
544
.map(_ * 1000)
545
- .filterNot(_ <= 0)
+ .filter(_ > 0)
546
547
// Use the average number of responses per second over the lifetime of the connection
548
// as an indicator of how fruitful the peer is for us.
0 commit comments