diff --git a/beacon_chain/networking/eth2_network.nim b/beacon_chain/networking/eth2_network.nim index f585738e5f..96003fdfb9 100644 --- a/beacon_chain/networking/eth2_network.nim +++ b/beacon_chain/networking/eth2_network.nim @@ -2097,7 +2097,7 @@ proc getMetadata_vx(node: Eth2Node, peer: Peer): {.async: (raises: [CancelledError]).} = let res = - if node.cfg.FULU_FORK_EPOCH != FAR_FUTURE_EPOCH: + if node.getBeaconTime().slotOrZero.epoch >= node.cfg.FULU_FORK_EPOCH: # Directly fetch fulu metadata if available await getMetadata_v3(peer) else: