aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
authorbojie <bojie@dexon.org>2019-01-14 20:42:15 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit2fc7f8878544bb7b46ce8357a64b9e920195a243 (patch)
tree04122d44b8461f5475fb24839dab193aece99afe /miner
parent2d9f86f9a5af14cb2058912deb490640dfd83977 (diff)
downloaddexon-2fc7f8878544bb7b46ce8357a64b9e920195a243.tar
dexon-2fc7f8878544bb7b46ce8357a64b9e920195a243.tar.gz
dexon-2fc7f8878544bb7b46ce8357a64b9e920195a243.tar.bz2
dexon-2fc7f8878544bb7b46ce8357a64b9e920195a243.tar.lz
dexon-2fc7f8878544bb7b46ce8357a64b9e920195a243.tar.xz
dexon-2fc7f8878544bb7b46ce8357a64b9e920195a243.tar.zst
dexon-2fc7f8878544bb7b46ce8357a64b9e920195a243.zip
app: remove pending block logic (#149)
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 eb25e27f2..a3468e551 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, false)
+ txpool := core.NewTxPool(testTxPoolConfig, chainConfig, chain)
// Generate a small n-block chain and an uncle block for it
if n > 0 {