core: use removeTx instead of delete

pull/861/head
obscuren 10 years ago
parent 03bb88dec0
commit 92f998c7ef
  1. 2
      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())
}
}

Loading…
Cancel
Save