mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-14 00:29:04 +00:00
report decimal produceBlockV3 consensus block, execution payload values (#5741)
This commit is contained in:
parent
5404178a40
commit
2c49caced9
@ -553,9 +553,10 @@ proc installValidatorApiHandlers*(router: var RestRouter, node: BeaconNode) =
|
||||
else:
|
||||
res.add("eth-execution-payload-blinded", "false")
|
||||
if executionValue.isSome():
|
||||
res.add("eth-execution-payload-value", $(executionValue.get()))
|
||||
res.add(
|
||||
"eth-execution-payload-value", toString(executionValue.get(), 10))
|
||||
if consensusValue.isSome():
|
||||
res.add("eth-consensus-block-value", $(consensusValue.get()))
|
||||
res.add("eth-consensus-block-value", toString(consensusValue.get(), 10))
|
||||
res
|
||||
|
||||
# https://ethereum.github.io/beacon-APIs/#/Validator/produceBlockV3
|
||||
|
Loading…
x
Reference in New Issue
Block a user