diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/DefaultUpstream.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/DefaultUpstream.kt index d160f1e2f..c57eaa6fc 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/DefaultUpstream.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/DefaultUpstream.kt @@ -89,11 +89,6 @@ abstract class DefaultUpstream( } private fun statusByLag(lag: Long?, proposed: UpstreamAvailability): UpstreamAvailability { - if (options.disableValidation) { - // if we specifically told that this upstream should be _always valid_ then skip - // the status calculation and trust the proposed value as is - return proposed - } if (lag == null) { return UpstreamAvailability.UNAVAILABLE }