From f08eb0489657f19da56d1ffb2ff9296bdfc61a6c Mon Sep 17 00:00:00 2001
From: gary rong <garyrong0905@gmail.com>
Date: Tue, 23 Jul 2019 17:53:35 +0800
Subject: [PATCH] les: get rid of testing tx journal (#19876)

---
 les/helper_test.go   | 4 +++-
 les/transactions.rlp | 0
 2 files changed, 3 insertions(+), 1 deletion(-)
 delete mode 100755 les/transactions.rlp

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