mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
catch up with api changes
This commit is contained in:
parent
3640f6d37c
commit
e840c8314c
@ -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…
x
Reference in New Issue
Block a user