aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-26 18:33:32 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:49:58 +0800
commita95d94ae7bb50a04e7405d0bf2d83e7d029f597d (patch)
tree9a4d23af1f413af1f237e09938d0539e6463f44b /miner
parent3dabda537165c7856070feda73c43d7508ee5de4 (diff)
downloaddexon-a95d94ae7bb50a04e7405d0bf2d83e7d029f597d.tar
dexon-a95d94ae7bb50a04e7405d0bf2d83e7d029f597d.tar.gz
dexon-a95d94ae7bb50a04e7405d0bf2d83e7d029f597d.tar.bz2
dexon-a95d94ae7bb50a04e7405d0bf2d83e7d029f597d.tar.lz
dexon-a95d94ae7bb50a04e7405d0bf2d83e7d029f597d.tar.xz
dexon-a95d94ae7bb50a04e7405d0bf2d83e7d029f597d.tar.zst
dexon-a95d94ae7bb50a04e7405d0bf2d83e7d029f597d.zip
miner: fix test
Diffstat (limited to 'miner')
-rw-r--r--miner/worker_test.go2
1 files changed, 1 insertions, 1 deletions
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 {