les: get rid of testing tx journal (#19876)

This commit is contained in:
gary rong 2019-07-23 17:53:35 +08:00 committed by Péter Szilágyi
parent 3b96c17fc1
commit f08eb04896
2 changed files with 3 additions and 1 deletions

View File

@ -192,7 +192,9 @@ func newTestProtocolManager(lightSync bool, blocks int, odr *LesOdr, indexers []
chain, _ = light.NewLightChain(odr, gspec.Config, engine, nil)
} else {
chain = simulation.Blockchain()
pool = core.NewTxPool(core.DefaultTxPoolConfig, gspec.Config, simulation.Blockchain())
config := core.DefaultTxPoolConfig
config.Journal = ""
pool = core.NewTxPool(config, gspec.Config, simulation.Blockchain())
}
// Create contract registrar

View File