Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Commit 11ea5e2

Browse files
committed
Fix DBBackend error v0.2.0
1 parent cdfc342 commit 11ea5e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/craftd/cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ func newApp(logger log.Logger, db dbm.DB, traceStore io.Writer, appOpts serverty
232232
}
233233

234234
snapshotDir := filepath.Join(cast.ToString(appOpts.Get(flags.FlagHome)), "data", "snapshots")
235-
snapshotDB, err := dbm.NewDB("metadata", dbm.BadgerDBBackend, snapshotDir)
235+
snapshotDB, err := dbm.NewDB("metadata", dbm.GoLevelDBBackend, snapshotDir)
236236
if err != nil {
237237
panic(err)
238238
}

0 commit comments

Comments
 (0)