core: use removeTx instead of delete

This commit is contained in:
obscuren 2015-05-05 23:09:18 +02:00
parent 03bb88dec0
commit 92f998c7ef
1 changed files with 1 additions and 1 deletions

View File

@ -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())
}
}