Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 committed Nov 14, 2024
1 parent 5081d9a commit 2880899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turbo/snapshotsync/snapshotsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func computeBlocksToPrune(blockReader blockReader, p prune.Mode) (blocksToPrune
func WaitForDownloader(ctx context.Context, logPrefix string, dirs datadir.Dirs, headerchain, blobs, caplinState bool, prune prune.Mode, caplin CaplinMode, agg *state.Aggregator, tx kv.RwTx, blockReader blockReader, cc *chain.Config, snapshotDownloader proto_downloader.DownloaderClient, stagesIdsList []string) error {
snapshots := blockReader.Snapshots()
borSnapshots := blockReader.BorSnapshots()
headerchain = false

// Find minimum block to download.
if blockReader.FreezingCfg().NoDownloader || snapshotDownloader == nil {
if err := snapshots.OpenFolder(); err != nil {
Expand Down

0 comments on commit 2880899

Please sign in to comment.