catch up with api changes

This commit is contained in:
Marco Peereboom 2013-09-26 10:15:14 -05:00
parent 3640f6d37c
commit e840c8314c

View file

@ -177,8 +177,9 @@ func openDB(dbpath string, flag opt.OptionsFlag) (pbdb btcdb.Db, err error) {
}
}
myCache := cache.NewEmptyCache()
opts := &opt.Options{Flag: flag,
BlockCache: cache.EmptyCache{},
BlockCache: myCache,
MaxOpenFiles: 256,
CompressionType: opt.NoCompression,
}