diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-26 18:33:32 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:19 +0800 |
commit | 39e68f0f9f28b2166a509cd6f40e049b78fffe90 (patch) | |
tree | dc848e8792cb1d89d15b38de969344c4c963f390 | |
parent | c5fd181ec5f7b4c93485ede0ceb512f9b5a205f3 (diff) | |
download | go-tangerine-39e68f0f9f28b2166a509cd6f40e049b78fffe90.tar go-tangerine-39e68f0f9f28b2166a509cd6f40e049b78fffe90.tar.gz go-tangerine-39e68f0f9f28b2166a509cd6f40e049b78fffe90.tar.bz2 go-tangerine-39e68f0f9f28b2166a509cd6f40e049b78fffe90.tar.lz go-tangerine-39e68f0f9f28b2166a509cd6f40e049b78fffe90.tar.xz go-tangerine-39e68f0f9f28b2166a509cd6f40e049b78fffe90.tar.zst go-tangerine-39e68f0f9f28b2166a509cd6f40e049b78fffe90.zip |
miner: fix test
-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 { |