From f3e75d9680c7ae672ec62ef84f49c1229a9e6485 Mon Sep 17 00:00:00 2001 From: Maxksim Fomenkov Date: Wed, 24 Aug 2022 09:56:31 +0300 Subject: [PATCH] fix linter issues --- src/main/kotlin/io/emeraldpay/dshackle/upstream/AbstractHead.kt | 1 - .../kotlin/io/emeraldpay/dshackle/upstream/BlockValidator.kt | 2 +- .../dshackle/upstream/ethereum/DefaultEthereumHead.kt | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/AbstractHead.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/AbstractHead.kt index 6dd43d35..01890f44 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/AbstractHead.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/AbstractHead.kt @@ -16,7 +16,6 @@ package io.emeraldpay.dshackle.upstream import io.emeraldpay.dshackle.data.BlockContainer -import io.emeraldpay.dshackle.upstream.ethereum.EthereumBlockValidator import io.emeraldpay.dshackle.upstream.forkchoice.ForkChoice import org.slf4j.LoggerFactory import reactor.core.Disposable diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/BlockValidator.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/BlockValidator.kt index 3e7b61b7..276f6bfe 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/BlockValidator.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/BlockValidator.kt @@ -13,4 +13,4 @@ interface BlockValidator { companion object { val ALWAYS_VALID = AlwaysValid() } -} \ No newline at end of file +} diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/DefaultEthereumHead.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/DefaultEthereumHead.kt index 1432f994..16c5d98b 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/DefaultEthereumHead.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/DefaultEthereumHead.kt @@ -19,7 +19,6 @@ import io.emeraldpay.dshackle.Defaults import io.emeraldpay.dshackle.data.BlockContainer import io.emeraldpay.dshackle.reader.Reader import io.emeraldpay.dshackle.upstream.AbstractHead -import io.emeraldpay.dshackle.upstream.BlockValidator import io.emeraldpay.dshackle.upstream.Head import io.emeraldpay.dshackle.upstream.forkchoice.ForkChoice import io.emeraldpay.dshackle.upstream.rpcclient.JsonRpcRequest