From 65127a5180a43fb0565536543ebde47be7fe4094 Mon Sep 17 00:00:00 2001 From: kewei Date: Mon, 6 Jan 2025 10:38:55 +0800 Subject: [PATCH] update --- cl/phase1/stages/forward_sync.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }