Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Add another clean
Browse files Browse the repository at this point in the history
  • Loading branch information
sakridge committed Jun 14, 2021
1 parent acfe207 commit bbb5d18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9155,6 +9155,9 @@ pub mod tests {
// Do clean
accounts.clean_accounts(None, false);

// 2nd clean needed to clean-up pubkey1
accounts.clean_accounts(None, false);

// Ensure pubkey2 is cleaned from the index finally
assert_not_load_account(&accounts, current_slot, pubkey1);
assert_load_account(&accounts, current_slot, pubkey2, old_lamport);
Expand Down

0 comments on commit bbb5d18

Please sign in to comment.