Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dmakarov committed Aug 1, 2024
1 parent f140b66 commit 437182c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ use {
path::{Path, PathBuf},
sync::{
atomic::{AtomicBool, AtomicU32, AtomicU64, AtomicUsize, Ordering},
Arc, Condvar, Mutex, RwLock, RwLockReadGuard,
Arc, Condvar, Mutex, RwLock,
},
thread::{sleep, Builder},
time::{Duration, Instant},
Expand Down Expand Up @@ -2848,7 +2848,7 @@ impl AccountsDb {
let purges_bin_index =
self.accounts_index.bin_calculator.bin_from_pubkey(key);
let mut update_pending_stores =
|bin: &RwLockReadGuard<HashMap<Pubkey, CleaningInfo>>| {
|bin: &HashMap<Pubkey, CleaningInfo>| {
for (slot, _account_info) in &bin.get(key).unwrap().slot_list {
if !already_counted.contains(slot) {
pending_stores.insert(*slot);
Expand Down

0 comments on commit 437182c

Please sign in to comment.