Skip to content

Commit

Permalink
pr: inline vars
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo committed Jun 11, 2024
1 parent 6656358 commit ab66088
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4298,8 +4298,7 @@ impl Bank {
.collect();

let rent_collection_accounts = self.get_accounts_for_skipped_rewrites();
for rent_collection_account in rent_collection_accounts {
let (pubkey, hash, account) = rent_collection_account;
for (pubkey, hash, account) in rent_collection_accounts {
if !pubkeys_written_this_slot.contains(&pubkey) {
accounts_written_this_slot.push(PubkeyHashAccount {
pubkey,
Expand Down

0 comments on commit ab66088

Please sign in to comment.