Update for recent btcdb API changes.

This commit is contained in:
Dave Collins 2014-01-19 20:13:53 -06:00
parent 583406ee51
commit e2dba2a074

View file

@ -58,7 +58,7 @@ func chainSetup(dbName string) (*btcchain.BlockChain, func(), error) {
var db btcdb.Db
var teardown func()
if testDbType == "memdb" {
ndb, err := btcdb.CreateDB(testDbType, "")
ndb, err := btcdb.CreateDB(testDbType)
if err != nil {
return nil, nil, fmt.Errorf("error creating db: %v", err)
}