Skip to content

Commit

Permalink
fix: replace leveldb deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
scorpioborn committed Aug 9, 2023
1 parent a047fd6 commit 211562d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/sged/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func newApp(
}

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

0 comments on commit 211562d

Please sign in to comment.