Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
perekopskiy committed Oct 16, 2024
1 parent 136d010 commit dbb3110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/mempool/src/mempool_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ impl MempoolStore {

let mut sum = 0;
let mut number_of_accounts_kept = 0;
for (_, txs) in possibly_kept {
for (_, txs) in &possibly_kept {
sum += txs.len();
if sum <= self.capacity as usize {
number_of_accounts_kept += 1;
Expand Down

0 comments on commit dbb3110

Please sign in to comment.