From 19f4464a9eff68fe9aca863dafabf8a2cfd6bfcb Mon Sep 17 00:00:00 2001
From: Wei-Ning Huang <w@dexon.org>
Date: Mon, 26 Nov 2018 18:33:32 +0800
Subject: miner: fix test

---
 miner/worker_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/miner/worker_test.go b/miner/worker_test.go
index a3468e551..eb25e27f2 100644
--- a/miner/worker_test.go
+++ b/miner/worker_test.go
@@ -97,7 +97,7 @@ func newTestWorkerBackend(t *testing.T, chainConfig *params.ChainConfig, engine
 	genesis := gspec.MustCommit(db)
 
 	chain, _ := core.NewBlockChain(db, nil, gspec.Config, engine, vm.Config{}, nil)
-	txpool := core.NewTxPool(testTxPoolConfig, chainConfig, chain)
+	txpool := core.NewTxPool(testTxPoolConfig, chainConfig, chain, false)
 
 	// Generate a small n-block chain and an uncle block for it
 	if n > 0 {
-- 
cgit