diff --git a/eth/stagedsync/stage_headers.go b/eth/stagedsync/stage_headers.go index 9ac44851a6b8bb5f9d95e17c0c34b29c94592366..a32440a559aaaca713c1a3366fb15d7028c6bdbe 100644 --- a/eth/stagedsync/stage_headers.go +++ b/eth/stagedsync/stage_headers.go @@ -992,7 +992,7 @@ func DownloadAndIndexSnapshotsIfNeed(s *StageState, ctx context.Context, tx kv.R return nil } - if !cfg.snapshots.SegmentsReady() { + if !cfg.snapshots.SegmentsReady() || cfg.snapshots.SegmentsAvailable() < cfg.snapshotHashesCfg.ExpectBlocks { if err := WaitForDownloader(ctx, tx, cfg); err != nil { return err } diff --git a/turbo/snapshotsync/snapshothashes/erigon-snapshots b/turbo/snapshotsync/snapshothashes/erigon-snapshots index cf6e317aa616c2821bb922e383e027561aced193..dfd2c1c3cef7cd4748a824c16a86a36f9eff1c3c 160000 --- a/turbo/snapshotsync/snapshothashes/erigon-snapshots +++ b/turbo/snapshotsync/snapshothashes/erigon-snapshots @@ -1 +1 @@ -Subproject commit cf6e317aa616c2821bb922e383e027561aced193 +Subproject commit dfd2c1c3cef7cd4748a824c16a86a36f9eff1c3c