aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-31 18:21:55 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit8b555ae56c581718077891974b0606bc32e6488b (patch)
tree58789d7ed6803e8539e2797aac6be7f188f85b9e /dex
parent38b34914c47a994754006adf6cef8463f5f3315a (diff)
downloaddexon-8b555ae56c581718077891974b0606bc32e6488b.tar
dexon-8b555ae56c581718077891974b0606bc32e6488b.tar.gz
dexon-8b555ae56c581718077891974b0606bc32e6488b.tar.bz2
dexon-8b555ae56c581718077891974b0606bc32e6488b.tar.lz
dexon-8b555ae56c581718077891974b0606bc32e6488b.tar.xz
dexon-8b555ae56c581718077891974b0606bc32e6488b.tar.zst
dexon-8b555ae56c581718077891974b0606bc32e6488b.zip
core: tx_pool: remove transactions on BlockConfirmed event
Diffstat (limited to 'dex')
-rw-r--r--dex/app.go3
1 files changed, 2 insertions, 1 deletions
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,