aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/transaction_pool.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/transaction_pool.go b/core/transaction_pool.go
index 22a804e1d..bac6b7f0b 100644
--- a/core/transaction_pool.go
+++ b/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())
}
}