Commit 92f998c7 authored by obscuren's avatar obscuren

core: use removeTx instead of delete

parent 03bb88de
...@@ -235,7 +235,7 @@ func (self *TxPool) RemoveTransactions(txs types.Transactions) { ...@@ -235,7 +235,7 @@ func (self *TxPool) RemoveTransactions(txs types.Transactions) {
defer self.mu.Unlock() defer self.mu.Unlock()
for _, tx := range txs { for _, tx := range txs {
delete(self.txs, tx.Hash()) self.removeTx(tx.Hash())
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment