aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_makers.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-06-03 21:52:25 +0800
committerobscuren <geffobscura@gmail.com>2015-06-04 04:43:23 +0800
commitec7a2c34423f9337c238ff07c39a15eb18eed79a (patch)
tree3c11cfa14540f246f4cfada5c3a7dc8a197c77b4 /core/chain_makers.go
parent5721c43585100aad82a4c18341e9518c6e91393b (diff)
downloadgo-tangerine-ec7a2c34423f9337c238ff07c39a15eb18eed79a.tar.gz
go-tangerine-ec7a2c34423f9337c238ff07c39a15eb18eed79a.tar.zst
go-tangerine-ec7a2c34423f9337c238ff07c39a15eb18eed79a.zip
core: don't remove transactions after block processing
The transaction pool drops processed transactions on its own during pool maintenance.
Diffstat (limited to 'core/chain_makers.go')
-rw-r--r--core/chain_makers.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/chain_makers.go b/core/chain_makers.go
index 44f17cc33..3039e52da 100644
--- a/core/chain_makers.go
+++ b/core/chain_makers.go
@@ -124,8 +124,7 @@ func newChainManager(block *types.Block, eventMux *event.TypeMux, db common.Data
// block processor with fake pow
func newBlockProcessor(db common.Database, cman *ChainManager, eventMux *event.TypeMux) *BlockProcessor {
chainMan := newChainManager(nil, eventMux, db)
- txpool := NewTxPool(eventMux, chainMan.State, chainMan.GasLimit)
- bman := NewBlockProcessor(db, db, FakePow{}, txpool, chainMan, eventMux)
+ bman := NewBlockProcessor(db, db, FakePow{}, chainMan, eventMux)
return bman
}