mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-15 08:23:46 +00:00
chg : minor change
This commit is contained in:
parent
b2c125f81e
commit
723ff9a958
1 changed files with 1 additions and 1 deletions
|
|
@ -232,7 +232,7 @@ func NewBlockChain(db ethdb.Database, cacheConfig *CacheConfig, chainConfig *par
|
||||||
}
|
}
|
||||||
|
|
||||||
if cacheConfig.TriesInMemory <= 0 {
|
if cacheConfig.TriesInMemory <= 0 {
|
||||||
cacheConfig.TriesInMemory = 128
|
cacheConfig.TriesInMemory = DefaultCacheConfig.TriesInMemory
|
||||||
}
|
}
|
||||||
bodyCache, _ := lru.New(bodyCacheLimit)
|
bodyCache, _ := lru.New(bodyCacheLimit)
|
||||||
bodyRLPCache, _ := lru.New(bodyCacheLimit)
|
bodyRLPCache, _ := lru.New(bodyCacheLimit)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue