Skip to content

Commit

Permalink
Address review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheatfate committed Apr 15, 2024
1 parent af9da73 commit d37a4dd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions beacon_chain/spec/eth2_apis/eth2_rest_serialization.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit d37a4dd

Please sign in to comment.