Return current block height in DescribeChain response
This commit is contained in:
Submodule emerald-java-client updated: 35196f35f3...130e190893
@@ -44,6 +44,7 @@ class Describe(
|
|||||||
.setChain(Common.ChainRef.forNumber(chain.id))
|
.setChain(Common.ChainRef.forNumber(chain.id))
|
||||||
.addAllSupportedMethods(targets)
|
.addAllSupportedMethods(targets)
|
||||||
.setStatus(status)
|
.setStatus(status)
|
||||||
|
.setCurrentHeight(chainUpstreams.getHead().getCurrentHeight() ?: 0)
|
||||||
chainUpstreams.getAll().let { ups ->
|
chainUpstreams.getAll().let { ups ->
|
||||||
ups.forEach { up ->
|
ups.forEach { up ->
|
||||||
val nodes = QuorumForLabels()
|
val nodes = QuorumForLabels()
|
||||||
|
|||||||
Reference in New Issue
Block a user