diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-26 18:33:32 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | b5ec9669309981048e7306a8960f3cc6a87834f0 (patch) | |
tree | 84bc87a66fe91966703513dfaadec859f0ac3a9d /miner | |
parent | 8d90d11b92d675d276eec7b87c333689fd7b3911 (diff) | |
download | dexon-b5ec9669309981048e7306a8960f3cc6a87834f0.tar.gz dexon-b5ec9669309981048e7306a8960f3cc6a87834f0.tar.zst dexon-b5ec9669309981048e7306a8960f3cc6a87834f0.zip |
miner: fix test
Diffstat (limited to 'miner')
-rw-r--r-- | miner/worker_test.go | 2 |
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 { |