diff --git a/lib/snapshot.go b/lib/snapshot.go index 1c3f96adb..1762b6ce4 100644 --- a/lib/snapshot.go +++ b/lib/snapshot.go @@ -328,7 +328,7 @@ func NewSnapshot(mainDb *badger.DB, mainDbDirectory string, snapshotBlockHeightP // Initialize the ancestral records database snapshotDirectory := filepath.Join(GetBadgerDbPath(mainDbDirectory), "snapshot") - snapshotOpts := DefaultBadgerOptions(snapshotDirectory) + snapshotOpts := PerformanceBadgerOptions(snapshotDirectory) snapshotOpts.ValueDir = GetBadgerDbPath(snapshotDirectory) snapshotDb, err := badger.Open(snapshotOpts) if err != nil {