From 336ab718a495fb3afa7ff83fd38f9e0aa28075ca Mon Sep 17 00:00:00 2001 From: Giulio Date: Fri, 13 Dec 2024 20:30:00 +0100 Subject: [PATCH] save --- turbo/snapshotsync/snapshotsync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbo/snapshotsync/snapshotsync.go b/turbo/snapshotsync/snapshotsync.go index 790e91f4a2f..9182cfb319a 100644 --- a/turbo/snapshotsync/snapshotsync.go +++ b/turbo/snapshotsync/snapshotsync.go @@ -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]