Skip to content

Commit

Permalink
fix: db_backend lookup in config.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
holyxiaoxin committed Aug 16, 2023
1 parent f7e1dac commit 413a745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ func GetAppDBBackend(opts types.AppOptions) dbm.BackendType {
rv = sdk.DBBackend
}
if len(rv) == 0 {
rv = cast.ToString(opts.Get("db-backend"))
rv = cast.ToString(opts.Get("db_backend"))
}
if len(rv) != 0 {
return dbm.BackendType(rv)
Expand Down

0 comments on commit 413a745

Please sign in to comment.