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-04-09 13:49:55 +0800
commita199c7511aae821cd42710f7ae0c849fee18abae (patch)
treef38def9ea2fc3ce2f3922792e0fceba200d65000 /dex
parentcbfe0ea7bf7308c864794247fbb551a930b204b7 (diff)
downloaddexon-a199c7511aae821cd42710f7ae0c849fee18abae.tar
dexon-a199c7511aae821cd42710f7ae0c849fee18abae.tar.gz
dexon-a199c7511aae821cd42710f7ae0c849fee18abae.tar.bz2
dexon-a199c7511aae821cd42710f7ae0c849fee18abae.tar.lz
dexon-a199c7511aae821cd42710f7ae0c849fee18abae.tar.xz
dexon-a199c7511aae821cd42710f7ae0c849fee18abae.tar.zst
dexon-a199c7511aae821cd42710f7ae0c849fee18abae.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,