Update for recent btcdb API changes.
This commit is contained in:
parent
583406ee51
commit
e2dba2a074
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ func chainSetup(dbName string) (*btcchain.BlockChain, func(), error) {
|
||||||
var db btcdb.Db
|
var db btcdb.Db
|
||||||
var teardown func()
|
var teardown func()
|
||||||
if testDbType == "memdb" {
|
if testDbType == "memdb" {
|
||||||
ndb, err := btcdb.CreateDB(testDbType, "")
|
ndb, err := btcdb.CreateDB(testDbType)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, nil, fmt.Errorf("error creating db: %v", err)
|
return nil, nil, fmt.Errorf("error creating db: %v", err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue