diff --git a/beacon_node/network/src/sync/network_context/custody.rs b/beacon_node/network/src/sync/network_context/custody.rs index af92e04f7d..2b96800e37 100644 --- a/beacon_node/network/src/sync/network_context/custody.rs +++ b/beacon_node/network/src/sync/network_context/custody.rs @@ -310,11 +310,7 @@ impl ActiveCustodyRequest { // have the block but not yet imported the envelope and data columns. // Don't enforce max_responses in this case. lookup_peers.contains(&peer_id) - && !cx - .chain - .spec - .fork_name_at_epoch(cx.chain.epoch().unwrap_or_default()) - .gloas_enabled(), + && !cx.fork_context.current_fork_name().gloas_enabled(), ) .map_err(Error::SendFailed)?;