From 413a7459bbe7a481ea307e77cf9ee34fc8cbdb68 Mon Sep 17 00:00:00 2001 From: holyxiaoxin Date: Wed, 16 Aug 2023 16:32:25 +0800 Subject: [PATCH] fix: db_backend lookup in config.toml see: https://github.com/cosmos/cosmos-sdk/pull/17181 --- server/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/util.go b/server/util.go index 98e82be44b03..cea58e223ad4 100644 --- a/server/util.go +++ b/server/util.go @@ -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)