Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
domiwei committed Jan 6, 2025
1 parent 535ce2c commit 65127a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cl/phase1/stages/forward_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 65127a5

Please sign in to comment.