aboutsummaryrefslogtreecommitdiffstats
path: root/les/handler_test.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-26 18:26:51 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:54 +0800
commit2ffc207955af78698d5ce6b9bc2d1df56b97fbf5 (patch)
tree2ad8b9de9102b29a137dc42f6063b20d30a79884 /les/handler_test.go
parent91e02be28118b217d19fabe65cc01992e8837973 (diff)
downloaddexon-2ffc207955af78698d5ce6b9bc2d1df56b97fbf5.tar
dexon-2ffc207955af78698d5ce6b9bc2d1df56b97fbf5.tar.gz
dexon-2ffc207955af78698d5ce6b9bc2d1df56b97fbf5.tar.bz2
dexon-2ffc207955af78698d5ce6b9bc2d1df56b97fbf5.tar.lz
dexon-2ffc207955af78698d5ce6b9bc2d1df56b97fbf5.tar.xz
dexon-2ffc207955af78698d5ce6b9bc2d1df56b97fbf5.tar.zst
dexon-2ffc207955af78698d5ce6b9bc2d1df56b97fbf5.zip
les: fix tests
Diffstat (limited to 'les/handler_test.go')
-rw-r--r--les/handler_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/les/handler_test.go b/les/handler_test.go
index 2cbad52c1..6ef6da8e9 100644
--- a/les/handler_test.go
+++ b/les/handler_test.go
@@ -498,7 +498,7 @@ func TestTransactionStatusLes2(t *testing.T) {
chain := pm.blockchain.(*core.BlockChain)
config := core.DefaultTxPoolConfig
config.Journal = ""
- txpool := core.NewTxPool(config, params.TestChainConfig, chain)
+ txpool := core.NewTxPool(config, params.TestChainConfig, chain, false)
pm.txpool = txpool
peer, _ := newTestPeer(t, "peer", 2, pm, true)
defer peer.close()