catch up with api changes
This commit is contained in:
parent
3640f6d37c
commit
e840c8314c
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue