From a6c88741cbc42f3cc9b7617fa45619c2d4c2bc83 Mon Sep 17 00:00:00 2001 From: Giulio rebuffo Date: Fri, 6 Sep 2024 13:29:05 +0200 Subject: [PATCH] Use `transactions` snapshots as `baseSegType` (#11895) --- turbo/snapshotsync/freezeblocks/block_snapshots.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbo/snapshotsync/freezeblocks/block_snapshots.go b/turbo/snapshotsync/freezeblocks/block_snapshots.go index 0768c603b23..60970b6bd48 100644 --- a/turbo/snapshotsync/freezeblocks/block_snapshots.go +++ b/turbo/snapshotsync/freezeblocks/block_snapshots.go @@ -2259,7 +2259,7 @@ type View struct { } func (s *RoSnapshots) View() *View { - v := &View{s: s, baseSegType: coresnaptype.Headers} + v := &View{s: s, baseSegType: coresnaptype.Transactions} // Transactions is the last segment to be processed, so it's the most reliable. s.segments.Scan(func(segtype snaptype.Enum, value *segments) bool { value.lock.RLock() return true