Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Oct 18, 2024
1 parent 29ba71d commit 7c00ba5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eth/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ import (
"github.com/erigontech/erigon-lib/downloader"
"github.com/erigontech/erigon-lib/downloader/downloadercfg"
"github.com/erigontech/erigon-lib/downloader/downloadergrpc"
"github.com/erigontech/erigon-lib/downloader/downloaderrawdb"
"github.com/erigontech/erigon-lib/downloader/snaptype"
protodownloader "github.com/erigontech/erigon-lib/gointerfaces/downloaderproto"
"github.com/erigontech/erigon-lib/gointerfaces/grpcutil"
Expand Down Expand Up @@ -1444,7 +1443,7 @@ func setUpBlockReader(ctx context.Context, db kv.RwDB, dirs datadir.Dirs, snConf
}
agg.SetProduceMod(snConfig.Snapshot.ProduceE3)

allSegmentsDownloadComplete, err := downloaderrawdb.ReadSegmentsDownloadCompleteWithoutDB(dirs)
allSegmentsDownloadComplete, err := rawdb.AllSegmentsDownloadCompleteFromDB(db)
if err != nil {
return nil, nil, nil, nil, nil, err
}
Expand Down

0 comments on commit 7c00ba5

Please sign in to comment.