Skip to content

Commit

Permalink
Caplin: fix nil ptr (#13841)
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 authored Feb 17, 2025
1 parent b414526 commit 1c7a902
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cl/phase1/stages/forward_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ func processDownloadedBlockBatches(ctx context.Context, logger log.Logger, cfg *

// Filter out blocks that are already in the FCU or have a signed header in the DB
blocks = filterUnneededBlocks(ctx, blocks, cfg)
if len(blocks) == 0 {
return highestBlockProcessed, nil
}

var (
blockRoot common.Hash
Expand Down

0 comments on commit 1c7a902

Please sign in to comment.