aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-06 05:09:18 +0800
committerobscuren <geffobscura@gmail.com>2015-05-07 00:30:55 +0800
commit92f998c7ef52f233457cd7bb789395cf3b978e74 (patch)
tree948dd06a077769d2d92742f9a06fdb1229945386 /core
parent03bb88dec0163abd99d0fd6c86ab5852c59669cb (diff)
downloadgo-tangerine-92f998c7ef52f233457cd7bb789395cf3b978e74.tar.gz
go-tangerine-92f998c7ef52f233457cd7bb789395cf3b978e74.tar.zst
go-tangerine-92f998c7ef52f233457cd7bb789395cf3b978e74.zip
core: use removeTx instead of delete
Diffstat (limited to 'core')
-rw-r--r--core/transaction_pool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/transaction_pool.go b/core/transaction_pool.go
index 22a804e1d..bac6b7f0b 100644
--- a/core/transaction_pool.go
+++ b/core/transaction_pool.go
@@ -235,7 +235,7 @@ func (self *TxPool) RemoveTransactions(txs types.Transactions) {
defer self.mu.Unlock()
for _, tx := range txs {
- delete(self.txs, tx.Hash())
+ self.removeTx(tx.Hash())
}
}