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 982fe50 commit 94927b8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions turbo/snapshotsync/snapshotsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,13 @@ func WaitForDownloader(ctx context.Context, logPrefix string, dirs datadir.Dirs,
return err
}
}
if caplinState {
if _, err := snapshotDownloader.ProhibitNewDownloads(ctx, &proto_downloader.ProhibitNewDownloadsRequest{
Type: "caplin",
}); err != nil {
return err
}
}
}

firstNonGenesis, err := rawdbv3.SecondKey(tx, kv.Headers)
Expand Down

0 comments on commit 94927b8

Please sign in to comment.