提交 92f998c7 编写于 作者: O obscuren

core: use removeTx instead of delete

上级 03bb88de
......@@ -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())
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册