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

Commit

Permalink
Fix DBBackend error v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Mar 27, 2022
1 parent cdfc342 commit 11ea5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/craftd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func newApp(logger log.Logger, db dbm.DB, traceStore io.Writer, appOpts serverty
}

snapshotDir := filepath.Join(cast.ToString(appOpts.Get(flags.FlagHome)), "data", "snapshots")
snapshotDB, err := dbm.NewDB("metadata", dbm.BadgerDBBackend, snapshotDir)
snapshotDB, err := dbm.NewDB("metadata", dbm.GoLevelDBBackend, snapshotDir)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 11ea5e2

Please sign in to comment.