Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 committed Dec 13, 2024
1 parent 63de388 commit 336ab71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turbo/snapshotsync/snapshotsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func buildBlackListForPruning(pruneMode bool, stepPrune, minBlockToDownload, blo
}
var _, to uint64
var err error
if shouldUseStepsForPruning(name) {
if isStateSnapshot(name) {
// parse "from" (0) and "to" (64) from the name
// parse the snapshot "kind". e.g kind of 'idx/v1-accounts.0-64.ef' is "idx/v1-accounts"
rangeString := strings.Split(name, ".")[1]
Expand Down

0 comments on commit 336ab71

Please sign in to comment.