From 4a214d38e49bf3d28f577933f13744e06034f9eb Mon Sep 17 00:00:00 2001 From: ledgerwatch Date: Sat, 8 May 2021 11:42:34 +0100 Subject: [PATCH] Fix integration after snapshot PR (#1901) Co-authored-by: Alexey Sharp --- cmd/integration/commands/root.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmd/integration/commands/root.go b/cmd/integration/commands/root.go index 8a52b4aae..363cfd5e8 100644 --- a/cmd/integration/commands/root.go +++ b/cmd/integration/commands/root.go @@ -57,9 +57,6 @@ func openDatabase2(path string, applyMigrations bool, snapshotDir string, snapsh } } metrics.AddCallback(db.RwKV().CollectMetrics) - if err := SetSnapshotKV(db, snapshotDir, snapshotMode); err != nil { - panic(err) - } return db }