From ab826b71a9abf86607b0b62bdf1db0a4c15f22ca Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Mon, 22 Aug 2022 10:27:24 -0500 Subject: [PATCH] rename unused parameter for clarity (#27271) --- runtime/src/accounts_db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index 272f6bc4b9..7ffddb440f 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -2252,7 +2252,7 @@ impl AccountsDb { }; if no_delete { let mut pending_store_ids = HashSet::new(); - for (_bank_id, account_info) in account_infos { + for (_slot, account_info) in account_infos { if !already_counted.contains(&account_info.store_id()) { pending_store_ids.insert(account_info.store_id()); }