File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/main/scala/io/iohk/ethereum/jsonrpc Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ import io.iohk.ethereum.jsonrpc.{FilterManager => FM}
34
34
import monix .eval .Task
35
35
import org .bouncycastle .util .encoders .Hex
36
36
37
- import scala .collection .concurrent .{ Map => ConcurrentMap , TrieMap }
37
+ import scala .collection .concurrent .{Map => ConcurrentMap , TrieMap }
38
38
import scala .concurrent .duration .FiniteDuration
39
39
import scala .language .existentials
40
40
import scala .reflect .ClassTag
@@ -532,9 +532,8 @@ class EthService(
532
532
533
533
// NOTE This is called from places that guarantee we are running Ethash consensus.
534
534
private def removeObsoleteHashrates (now : Date ): Unit = {
535
- hashRate.retain {
536
- case (_, (_, reported)) =>
537
- Duration .between(reported.toInstant, now.toInstant).toMillis < jsonRpcConfig.minerActiveTimeout.toMillis
535
+ hashRate.retain { case (_, (_, reported)) =>
536
+ Duration .between(reported.toInstant, now.toInstant).toMillis < jsonRpcConfig.minerActiveTimeout.toMillis
538
537
}
539
538
}
540
539
You can’t perform that action at this time.
0 commit comments