use append vec iter in construct_candidate_clean_keys (#26426)
This commit is contained in:
parent
6f5857a5db
commit
71c7b4f9cb
|
@ -2422,9 +2422,9 @@ impl AccountsDb {
|
|||
let dirty_stores_len = dirty_stores.len();
|
||||
let pubkeys = DashSet::new();
|
||||
for (_slot, store) in dirty_stores {
|
||||
for account in store.accounts.accounts(0) {
|
||||
AppendVecAccountsIter::new(&store.accounts).for_each(|account| {
|
||||
pubkeys.insert(account.meta.pubkey);
|
||||
}
|
||||
});
|
||||
}
|
||||
trace!(
|
||||
"dirty_stores.len: {} pubkeys.len: {}",
|
||||
|
|
Loading…
Reference in New Issue