Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilyjjo committed Oct 2, 2024
1 parent 2670373 commit 021faa2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/astria-sequencer/src/mempool/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ impl Mempool {
pending.add(ttx, current_account_nonce, &current_account_balances)
{
// remove from tracked
// note: this branch is not expected to be hit so grabbing the lock inside
// of the loop is more performant.
let mut contained_txs = self.contained_txs.write().await;
self.remove_from_contained_txs(timemarked_tx.id(), &mut contained_txs);
error!(
Expand Down

0 comments on commit 021faa2

Please sign in to comment.