forked from cerc-io/plugeth
les: get rid of testing tx journal (#19876)
This commit is contained in:
parent
3b96c17fc1
commit
f08eb04896
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user