produceBlockV3 call should send `execution_payload_blinded` value as boolean. (#6204)
* Fix `execution_payload_blinded` in produceBlockV3 response should be boolean not string. * Address review comments.
This commit is contained in:
parent
c57fcb426a
commit
c5f04dd237
|
@ -3403,10 +3403,7 @@ proc writeValue*(writer: var JsonWriter[RestJson],
|
|||
writer.beginRecord()
|
||||
withForkyMaybeBlindedBlck(value):
|
||||
writer.writeField("version", consensusFork.toString())
|
||||
when isBlinded:
|
||||
writer.writeField("execution_payload_blinded", "true")
|
||||
else:
|
||||
writer.writeField("execution_payload_blinded", "false")
|
||||
writer.writeField("execution_payload_blinded", isBlinded)
|
||||
if value.executionValue.isSome():
|
||||
writer.writeField("execution_payload_value",
|
||||
$(value.executionValue.get()))
|
||||
|
|
Loading…
Reference in New Issue