Skip to content

Commit

Permalink
Refactor the reset snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
blxdyx committed Sep 4, 2024
1 parent e7983ab commit b0e4aa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions turbo/snapshotsync/freezeblocks/block_snapshots.go
Original file line number Diff line number Diff line change
Expand Up @@ -2033,6 +2033,7 @@ func ForEachHeader(ctx context.Context, s *RoSnapshots, walker func(header *type
word, _ = g.Next(word[:0])
var header types.Header
r.Reset(word[1:])
log.Info(sn.FileName())
if err := rlp.Decode(r, &header); err != nil {
return err
}
Expand Down

0 comments on commit b0e4aa9

Please sign in to comment.