mirror of
https://github.com/status-im/op-geth.git
synced 2025-01-15 17:24:36 +00:00
core: use removeTx instead of delete
This commit is contained in:
parent
03bb88dec0
commit
92f998c7ef
@ -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())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user