les: get rid of testing tx journal

This commit is contained in:
rjl493456442 2019-07-23 17:34:30 +08:00
parent b80c840af3
commit 42a19f2b3e
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) chain, _ = light.NewLightChain(odr, gspec.Config, engine, nil)
} else { } else {
chain = simulation.Blockchain() 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 // Create contract registrar

View file