Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
taratorio committed Jan 14, 2025
1 parent 3dc8c7a commit 073182e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/integration/commands/cross_reference.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func crossReferenceBlockHashes(ctx context.Context, logger log.Logger, startBloc
eg, ctx := errgroup.WithContext(ctx)
eg.SetLimit(maxParallelRequests)
for blockNum := startBlockNum; blockNum < endBlockNum; blockNum++ {
blockNum := blockNum
eg.Go(func() error {
blockFields, err := fetchBlockViaRpcWithRetry(ctx, logger, rpcUrl, blockNum)
if err != nil {
Expand Down

0 comments on commit 073182e

Please sign in to comment.