diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumUpstreamValidator.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumUpstreamValidator.kt index 09284440..cc7feca8 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumUpstreamValidator.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/EthereumUpstreamValidator.kt @@ -54,7 +54,8 @@ open class EthereumUpstreamValidator( .timeout( Defaults.timeoutInternal, Mono.fromCallable { log.warn("No response for eth_syncing from ${upstream.getId()}") } - .then(Mono.error(TimeoutException("Validation timeout for Syncing")))) + .then(Mono.error(TimeoutException("Validation timeout for Syncing"))) + ) .flatMap { value -> if (value.isSyncing) { Mono.just(UpstreamAvailability.SYNCING)