mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 21:17:16 +00:00
Snapshots: fix for fresh sync (#3748)
This commit is contained in:
parent
ce15968d17
commit
9100e0dc3c
@ -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
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit cf6e317aa616c2821bb922e383e027561aced193
|
||||
Subproject commit dfd2c1c3cef7cd4748a824c16a86a36f9eff1c3c
|
Loading…
Reference in New Issue
Block a user