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 21:32:54 +0800
commit19f4464a9eff68fe9aca863dafabf8a2cfd6bfcb (patch)
tree52eabd147465296be3e9879f5fb3008c447083c6 /miner
parentfdb682a05c9d45d6d8232994330094a051fc39cc (diff)
downloaddexon-19f4464a9eff68fe9aca863dafabf8a2cfd6bfcb.tar
dexon-19f4464a9eff68fe9aca863dafabf8a2cfd6bfcb.tar.gz
dexon-19f4464a9eff68fe9aca863dafabf8a2cfd6bfcb.tar.bz2
dexon-19f4464a9eff68fe9aca863dafabf8a2cfd6bfcb.tar.lz
dexon-19f4464a9eff68fe9aca863dafabf8a2cfd6bfcb.tar.xz
dexon-19f4464a9eff68fe9aca863dafabf8a2cfd6bfcb.tar.zst
dexon-19f4464a9eff68fe9aca863dafabf8a2cfd6bfcb.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 {