From 9624eaf39cd481007282ecd86333aebbce5aca58 Mon Sep 17 00:00:00 2001 From: Igor Artamonov Date: Mon, 20 Dec 2021 21:22:16 -0500 Subject: [PATCH] problem: WS upstream stuck in validation --- .../dshackle/upstream/ethereum/EthereumUpstreamValidator.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)