mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-10 15:07:24 +00:00
update tm-db to 0.3.0 (#4158)
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
This commit is contained in:
@@ -62,7 +62,7 @@ type DBProvider func(*DBContext) (dbm.DB, error)
|
||||
// DefaultDBProvider returns a database using the DBBackend and DBDir
|
||||
// specified in the ctx.Config.
|
||||
func DefaultDBProvider(ctx *DBContext) (dbm.DB, error) {
|
||||
dbType := dbm.DBBackendType(ctx.Config.DBBackend)
|
||||
dbType := dbm.BackendType(ctx.Config.DBBackend)
|
||||
return dbm.NewDB(ctx.ID, dbType, ctx.Config.DBDir()), nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user