diff --git a/params/version.go b/params/version.go index d04bb02f4..6171d8aac 100644 --- a/params/version.go +++ b/params/version.go @@ -31,10 +31,10 @@ var ( // see https://calver.org const ( - VersionMajor = 2022 // Major version component of the current release - VersionMinor = 99 // Minor version component of the current release - VersionMicro = 99 // Patch version component of the current release - VersionModifier = "dev" // Modifier component of the current release + VersionMajor = 2022 // Major version component of the current release + VersionMinor = 8 // Minor version component of the current release + VersionMicro = 3 // Patch version component of the current release + VersionModifier = "alpha" // Modifier component of the current release VersionKeyCreated = "ErigonVersionCreated" VersionKeyFinished = "ErigonVersionFinished" ) diff --git a/turbo/snapshotsync/block_snapshots.go b/turbo/snapshotsync/block_snapshots.go index 174d1cf42..374b01fb9 100644 --- a/turbo/snapshotsync/block_snapshots.go +++ b/turbo/snapshotsync/block_snapshots.go @@ -412,6 +412,9 @@ func (s *RoSnapshots) Files() (list []string) { defer s.Txs.lock.RUnlock() max := s.BlocksAvailable() for _, seg := range s.Bodies.segments { + if seg.seg == nil { + continue + } if seg.ranges.from > max { continue } @@ -419,6 +422,9 @@ func (s *RoSnapshots) Files() (list []string) { list = append(list, fName) } for _, seg := range s.Headers.segments { + if seg.seg == nil { + continue + } if seg.ranges.from > max { continue } @@ -426,6 +432,9 @@ func (s *RoSnapshots) Files() (list []string) { list = append(list, fName) } for _, seg := range s.Txs.segments { + if seg.Seg == nil { + continue + } if seg.ranges.from > max { continue }