mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
Fix tx index limit not being used correctly
This commit is contained in:
parent
a7578a3cea
commit
48bdfa7ffb
1 changed files with 0 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue