rename var (#19588)

This commit is contained in:
Jeff Washington (jwash) 2021-09-02 19:55:35 -05:00 committed by GitHub
parent 9cc57fb076
commit 3936c10aa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -6411,8 +6411,8 @@ impl AccountsDb {
#[allow(clippy::stable_sort_primitive)] #[allow(clippy::stable_sort_primitive)]
roots.sort(); roots.sort();
info!("{}: accounts_index roots: {:?}", label, roots,); info!("{}: accounts_index roots: {:?}", label, roots,);
self.accounts_index.account_maps.iter().for_each(|i| { self.accounts_index.account_maps.iter().for_each(|map| {
for (pubkey, account_entry) in i.read().unwrap().iter() { for (pubkey, account_entry) in map.read().unwrap().iter() {
info!(" key: {} ref_count: {}", pubkey, account_entry.ref_count(),); info!(" key: {} ref_count: {}", pubkey, account_entry.ref_count(),);
info!( info!(
" slots: {:?}", " slots: {:?}",