Skip to content

Commit

Permalink
problem: missing height in status log
Browse files Browse the repository at this point in the history
  • Loading branch information
splix committed Sep 8, 2021
1 parent 47283fb commit ce9046a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ce9046a

Please sign in to comment.