diff --git a/beacon_chain/rpc/rest_beacon_api.nim b/beacon_chain/rpc/rest_beacon_api.nim index 22e34c0ba..1916effe7 100644 --- a/beacon_chain/rpc/rest_beacon_api.nim +++ b/beacon_chain/rpc/rest_beacon_api.nim @@ -832,7 +832,7 @@ proc installBeaconApiHandlers*(router: var RestRouter, node: BeaconNode) = $error) await node.unblindAndRouteBlockMEV(restBlock) - if res.get().isErr(): + if res.isErr(): return RestApiResponse.jsonError( Http503, BeaconNodeInSyncError, $res.error()) if res.get().isNone():