From 723ff9a958180f08d7a3a44849b2e57d644a524d Mon Sep 17 00:00:00 2001 From: Shivam Sharma Date: Fri, 21 Oct 2022 15:11:28 +0530 Subject: [PATCH] chg : minor change --- core/blockchain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/blockchain.go b/core/blockchain.go index e1fc269759..8103e4a05e 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -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)