Skip to content

Commit f08eb04

Browse files
rjl493456442karalabe
authored andcommitted
les: get rid of testing tx journal (#19876)
1 parent 3b96c17 commit f08eb04

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

les/helper_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ func newTestProtocolManager(lightSync bool, blocks int, odr *LesOdr, indexers []
192192
chain, _ = light.NewLightChain(odr, gspec.Config, engine, nil)
193193
} else {
194194
chain = simulation.Blockchain()
195-
pool = core.NewTxPool(core.DefaultTxPoolConfig, gspec.Config, simulation.Blockchain())
195+
config := core.DefaultTxPoolConfig
196+
config.Journal = ""
197+
pool = core.NewTxPool(config, gspec.Config, simulation.Blockchain())
196198
}
197199

198200
// Create contract registrar

les/transactions.rlp

Whitespace-only changes.

0 commit comments

Comments
 (0)