From 48bdfa7ffbfb8da50fbc3bbef54882d3b80e698f Mon Sep 17 00:00:00 2001 From: Jerry Date: Tue, 8 Oct 2024 14:36:14 -0700 Subject: [PATCH] Fix tx index limit not being used correctly --- core/blockchain.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/blockchain.go b/core/blockchain.go index 34c82a7437..3097ad4367 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -540,8 +540,6 @@ func NewBlockChain(db ethdb.Database, cacheConfig *CacheConfig, genesis *Genesis } if txLookupLimit != nil { - txLookupLimit = new(uint64) - *txLookupLimit = txLookupCacheLimit bc.txIndexer = newTxIndexer(*txLookupLimit, bc) }