problem: missing height in status log

This commit is contained in:
Igor Artamonov
2021-09-07 21:55:55 -04:00
parent f55370a64e
commit f443b7a297

View File

@@ -270,7 +270,7 @@ abstract class Multistream(
fun printStatus() { fun printStatus() {
var height: Long? = null var height: Long? = null
try { try {
height = getHead().getFlux().next().block(Duration.ofSeconds(1))?.height height = getHead().getCurrentHeight()
} catch (e: java.lang.IllegalStateException) { } catch (e: java.lang.IllegalStateException) {
//timout //timout
} catch (e: Exception) { } catch (e: Exception) {