aboutsummaryrefslogtreecommitdiffstats
path: root/les
diff options
context:
space:
mode:
authorgary rong <garyrong0905@gmail.com>2019-07-23 17:53:35 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-07-23 17:53:35 +0800
commitf08eb0489657f19da56d1ffb2ff9296bdfc61a6c (patch)
treea20fd4b0e28af445ee1098d6a9597b6604cf0393 /les
parent3b96c17fc148c8a4731a8230cd5b2d392047ef8c (diff)
downloadgo-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)
Diffstat (limited to 'les')
-rw-r--r--les/helper_test.go4
-rwxr-xr-xles/transactions.rlp0
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