Skip to content

Commit

Permalink
bor: nil ptr store in sub-command (#12989)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored Dec 4, 2024
1 parent bd7175d commit 2cb24b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turbo/app/snapshots_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ func openSnaps(ctx context.Context, cfg ethconfig.BlocksFreezing, dirs datadir.D
blockReader := freezeblocks.NewBlockReader(blockSnaps, borSnaps, heimdallStore, bridgeStore)
blockWriter := blockio.NewBlockWriter()
blockSnapBuildSema := semaphore.NewWeighted(int64(dbg.BuildSnapshotAllowance))
br = freezeblocks.NewBlockRetire(estimate.CompressSnapshot.Workers(), dirs, blockReader, blockWriter, chainDB, nil, nil, chainConfig, &ethconfig.Defaults, nil, blockSnapBuildSema, logger)
br = freezeblocks.NewBlockRetire(estimate.CompressSnapshot.Workers(), dirs, blockReader, blockWriter, chainDB, heimdallStore, bridgeStore, chainConfig, &ethconfig.Defaults, nil, blockSnapBuildSema, logger)

agg = openAgg(ctx, dirs, chainDB, logger)
agg.SetSnapshotBuildSema(blockSnapBuildSema)
Expand Down

0 comments on commit 2cb24b5

Please sign in to comment.