core: don't remove transactions after block processing

The transaction pool drops processed transactions on its own
during pool maintenance.
This commit is contained in:
Felix Lange
2015-06-03 15:52:25 +02:00
committed by obscuren
parent 5721c43585
commit ec7a2c3442
4 changed files with 5 additions and 11 deletions

View File

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