From 25577fd93e5c8ec94049641077e6b2218385c475 Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Thu, 1 Aug 2024 09:58:10 +0700 Subject: [PATCH] save --- turbo/snapshotsync/snapshotsync.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/turbo/snapshotsync/snapshotsync.go b/turbo/snapshotsync/snapshotsync.go index f56a85b89de..a54f99a7377 100644 --- a/turbo/snapshotsync/snapshotsync.go +++ b/turbo/snapshotsync/snapshotsync.go @@ -83,11 +83,6 @@ func WaitForDownloader(ctx context.Context, logPrefix string, histV3, blobs bool return nil } - snapshots.Close() - if cc.Bor != nil { - borSnapshots.Close() - } - //Corner cases: // - Erigon generated file X with hash H1. User upgraded Erigon. New version has preverified file X with hash H2. Must ignore H2 (don't send to Downloader) // - Erigon "download once": means restart/upgrade/downgrade must not download files (and will be fast)