From 6feecf26f7a292cf384616153c8e5bf0617a12bf 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') 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