mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-08 20:11:21 +00:00
integration: check that snapshots are nil #3906
This commit is contained in:
parent
f2a9763a6d
commit
768e1204f6
@ -103,7 +103,7 @@ func SpawnRecoverSendersStage(cfg SendersCfg, s *StageState, u Unwinder, tx kv.R
|
||||
defer canonicalC.Close()
|
||||
|
||||
startFrom := s.BlockNumber + 1
|
||||
if cfg.blockRetire.Snapshots() != nil && startFrom < cfg.blockRetire.Snapshots().BlocksAvailable() {
|
||||
if cfg.blockRetire != nil && cfg.blockRetire.Snapshots() != nil && startFrom < cfg.blockRetire.Snapshots().BlocksAvailable() {
|
||||
startFrom = cfg.blockRetire.Snapshots().BlocksAvailable()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user