diff --git a/cl/phase1/stages/forward_sync.go b/cl/phase1/stages/forward_sync.go index cdc9660feba..3f12c711ac3 100644 --- a/cl/phase1/stages/forward_sync.go +++ b/cl/phase1/stages/forward_sync.go @@ -41,8 +41,8 @@ func shouldProcessBlobs(blocks []*cltypes.SignedBeaconBlock, cfg *Cfg) bool { if currentEpoch > cfg.beaconCfg.MinEpochsForBlobsSidecarsRequest { minEpochDist = currentEpoch - cfg.beaconCfg.MinEpochsForBlobsSidecarsRequest } - //finalizedEpoch := currentEpoch - 2 - if highestEpoch < max(cfg.beaconCfg.DenebForkEpoch, minEpochDist) { + finalizedEpoch := currentEpoch - 2 + if highestEpoch < max(cfg.beaconCfg.DenebForkEpoch, minEpochDist, finalizedEpoch) { return false }