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-04-09 21:32:56 +0800
commit2155bbd85373a8527e3b565f4316bc4f1517650a (patch)
tree2f64cbc5a6810aa496524c7509a4998847526123 /miner
parent3fcb8b6825b3c62c9890a5ca59594f1503e66893 (diff)
downloaddexon-2155bbd85373a8527e3b565f4316bc4f1517650a.tar
dexon-2155bbd85373a8527e3b565f4316bc4f1517650a.tar.gz
dexon-2155bbd85373a8527e3b565f4316bc4f1517650a.tar.bz2
dexon-2155bbd85373a8527e3b565f4316bc4f1517650a.tar.lz
dexon-2155bbd85373a8527e3b565f4316bc4f1517650a.tar.xz
dexon-2155bbd85373a8527e3b565f4316bc4f1517650a.tar.zst
dexon-2155bbd85373a8527e3b565f4316bc4f1517650a.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 {