Skip to content

Commit

Permalink
Revert "rename var (solana-labs#19588)"
Browse files Browse the repository at this point in the history
This reverts commit f89efad.
  • Loading branch information
frits-metalogix authored Nov 24, 2021
1 parent 2c5e091 commit fbc5204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6411,8 +6411,8 @@ impl AccountsDb {
#[allow(clippy::stable_sort_primitive)]
roots.sort();
info!("{}: accounts_index roots: {:?}", label, roots,);
self.accounts_index.account_maps.iter().for_each(|map| {
for (pubkey, account_entry) in map.read().unwrap().iter() {
self.accounts_index.account_maps.iter().for_each(|i| {
for (pubkey, account_entry) in i.read().unwrap().iter() {
info!(" key: {} ref_count: {}", pubkey, account_entry.ref_count(),);
info!(
" slots: {:?}",
Expand Down

0 comments on commit fbc5204

Please sign in to comment.