From 8b555ae56c581718077891974b0606bc32e6488b Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Wed, 31 Oct 2018 18:21:55 +0800 Subject: core: tx_pool: remove transactions on BlockConfirmed event --- dex/app.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dex/app.go') diff --git a/dex/app.go b/dex/app.go index b325f44d0..3bc5053a4 100644 --- a/dex/app.go +++ b/dex/app.go @@ -67,7 +67,8 @@ type witnessData struct { ReceiptHash common.Hash } -func NewDexconApp(txPool *core.TxPool, blockchain *core.BlockChain, gov *DexconGovernance, chainDB ethdb.Database, config *Config, vmConfig vm.Config) *DexconApp { +func NewDexconApp(txPool *core.TxPool, blockchain *core.BlockChain, gov *DexconGovernance, + chainDB ethdb.Database, config *Config, vmConfig vm.Config) *DexconApp { return &DexconApp{ txPool: txPool, blockchain: blockchain, -- cgit v1.2.3