aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-26 18:33:32 +0800
committerWei-Ning Huang <w@dexon.org>2018-12-19 20:54:27 +0800
commitbd950aff30d93d4b61ed61f31125928400133302 (patch)
tree1d800692ab921e4c5cb8b90c14a3d160f97f7aae
parent8c407619762a857399db00b733e14c6ee1d66ab8 (diff)
downloaddexon-bd950aff30d93d4b61ed61f31125928400133302.tar.gz
dexon-bd950aff30d93d4b61ed61f31125928400133302.tar.zst
dexon-bd950aff30d93d4b61ed61f31125928400133302.zip
miner: fix test
-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 {