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

This commit is contained in:
gary rong
2019-07-23 12:53:35 +03:00
committed by Péter Szilágyi
parent 3b96c17fc1
commit f08eb04896
2 changed files with 3 additions and 1 deletions
+3 -1
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