diff options
author | gary rong <garyrong0905@gmail.com> | 2019-07-23 17:53:35 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-07-23 17:53:35 +0800 |
commit | f08eb0489657f19da56d1ffb2ff9296bdfc61a6c (patch) | |
tree | a20fd4b0e28af445ee1098d6a9597b6604cf0393 | |
parent | 3b96c17fc148c8a4731a8230cd5b2d392047ef8c (diff) | |
download | go-tangerine-f08eb0489657f19da56d1ffb2ff9296bdfc61a6c.tar go-tangerine-f08eb0489657f19da56d1ffb2ff9296bdfc61a6c.tar.gz go-tangerine-f08eb0489657f19da56d1ffb2ff9296bdfc61a6c.tar.bz2 go-tangerine-f08eb0489657f19da56d1ffb2ff9296bdfc61a6c.tar.lz go-tangerine-f08eb0489657f19da56d1ffb2ff9296bdfc61a6c.tar.xz go-tangerine-f08eb0489657f19da56d1ffb2ff9296bdfc61a6c.tar.zst go-tangerine-f08eb0489657f19da56d1ffb2ff9296bdfc61a6c.zip |
les: get rid of testing tx journal (#19876)
-rw-r--r-- | les/helper_test.go | 4 | ||||
-rwxr-xr-x | les/transactions.rlp | 0 |
2 files changed, 3 insertions, 1 deletions
diff --git a/les/helper_test.go b/les/helper_test.go index 4b9f270cc..fb9117ad1 100644 --- a/les/helper_test.go +++ b/les/helper_test.go @@ -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 diff --git a/les/transactions.rlp b/les/transactions.rlp deleted file mode 100755 index e69de29bb..000000000 --- a/les/transactions.rlp +++ /dev/null |