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) }