diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/Multistream.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/Multistream.kt index 47960364..0b5e1244 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/Multistream.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/Multistream.kt @@ -270,7 +270,7 @@ abstract class Multistream( fun printStatus() { var height: Long? = null try { - height = getHead().getFlux().next().block(Duration.ofSeconds(1))?.height + height = getHead().getCurrentHeight() } catch (e: java.lang.IllegalStateException) { //timout } catch (e: Exception) {