Skip to content

Commit

Permalink
fix Altair/Phase0
Browse files Browse the repository at this point in the history
  • Loading branch information
etan-status committed May 12, 2023
1 parent 39286ea commit 6d20158
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion beacon_chain/rpc/rest_validator_api.nim
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,8 @@ proc installValidatorApiHandlers*(router: var RestRouter, node: BeaconNode) =
proposer, qgraffiti, qhead, qslot)
if res.isErr():
return RestApiResponse.jsonError(Http400, res.error())
return responseVersioned(res.get().blck, contextFork)
withBlck(res.get().blck):
return responseVersioned(blck, contextFork)

# https://ethereum.github.io/beacon-APIs/#/Validator/produceAttestationData
router.api(MethodGet, "/eth/v1/validator/attestation_data") do (
Expand Down

0 comments on commit 6d20158

Please sign in to comment.