mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
core: remove unused field
This commit is contained in:
parent
13bb575af5
commit
75d2ce808c
1 changed files with 0 additions and 2 deletions
|
|
@ -61,7 +61,6 @@ type txIndexer struct {
|
||||||
// cutoff denotes the block number before which the chain segment should
|
// cutoff denotes the block number before which the chain segment should
|
||||||
// be pruned and not available locally.
|
// be pruned and not available locally.
|
||||||
cutoff uint64
|
cutoff uint64
|
||||||
chain *BlockChain
|
|
||||||
db ethdb.Database
|
db ethdb.Database
|
||||||
term chan chan struct{}
|
term chan chan struct{}
|
||||||
closed chan struct{}
|
closed chan struct{}
|
||||||
|
|
@ -73,7 +72,6 @@ func newTxIndexer(limit uint64, chain *BlockChain) *txIndexer {
|
||||||
indexer := &txIndexer{
|
indexer := &txIndexer{
|
||||||
limit: limit,
|
limit: limit,
|
||||||
cutoff: cutoff,
|
cutoff: cutoff,
|
||||||
chain: chain,
|
|
||||||
db: chain.db,
|
db: chain.db,
|
||||||
term: make(chan chan struct{}),
|
term: make(chan chan struct{}),
|
||||||
closed: make(chan struct{}),
|
closed: make(chan struct{}),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue