chg : minor change

This commit is contained in:
Shivam Sharma 2022-10-21 15:11:28 +05:30
parent b2c125f81e
commit 723ff9a958

View file

@ -232,7 +232,7 @@ func NewBlockChain(db ethdb.Database, cacheConfig *CacheConfig, chainConfig *par
}
if cacheConfig.TriesInMemory <= 0 {
cacheConfig.TriesInMemory = 128
cacheConfig.TriesInMemory = DefaultCacheConfig.TriesInMemory
}
bodyCache, _ := lru.New(bodyCacheLimit)
bodyRLPCache, _ := lru.New(bodyCacheLimit)