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

pull/19877/head
gary rong 5 years ago committed by Péter Szilágyi
parent 3b96c17fc1
commit f08eb04896
  1. 4
      les/helper_test.go
  2. 0
      les/transactions.rlp

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

Loading…
Cancel
Save