aboutsummaryrefslogtreecommitdiffstats
path: root/eth
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 /eth
parent2d9f86f9a5af14cb2058912deb490640dfd83977 (diff)
downloaddexon-2fc7f8878544bb7b46ce8357a64b9e920195a243.tar.gz
dexon-2fc7f8878544bb7b46ce8357a64b9e920195a243.tar.zst
dexon-2fc7f8878544bb7b46ce8357a64b9e920195a243.zip
app: remove pending block logic (#149)
Diffstat (limited to 'eth')
-rw-r--r--eth/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 90cfa1a9a..f75f2e521 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -173,7 +173,7 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) {
if config.TxPool.Journal != "" {
config.TxPool.Journal = ctx.ResolvePath(config.TxPool.Journal)
}
- eth.txPool = core.NewTxPool(config.TxPool, eth.chainConfig, eth.blockchain, false)
+ eth.txPool = core.NewTxPool(config.TxPool, eth.chainConfig, eth.blockchain)
if eth.protocolManager, err = NewProtocolManager(eth.chainConfig, config.SyncMode, config.NetworkId, eth.eventMux, eth.txPool, eth.engine, eth.blockchain, chainDb, config.Whitelist); err != nil {
return nil, err