diff options
author | Felix Lange <fjl@twurst.com> | 2015-06-03 21:52:25 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-06-04 04:43:23 +0800 |
commit | ec7a2c34423f9337c238ff07c39a15eb18eed79a (patch) | |
tree | 3c11cfa14540f246f4cfada5c3a7dc8a197c77b4 /core/chain_makers.go | |
parent | 5721c43585100aad82a4c18341e9518c6e91393b (diff) | |
download | go-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.go | 3 |
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 } |