From b56e66310d9564837b34c384cee2905e3699326a Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" <75863576+jeffwashington@users.noreply.github.com> Date: Mon, 3 May 2021 14:58:13 -0500 Subject: [PATCH] Revert "reclaims unref accounts from index (#16838) (#17005)" This reverts commit 3e43b042ebb893cd95f5bbaf2923ebae6dee34e2. --- runtime/src/accounts_db.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index 50db73e4c4..4f6ef2a0b1 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -1598,9 +1598,7 @@ impl AccountsDb { // Don't reset from clean, since the pubkeys in those stores may need to be unref'ed // and those stores may be used for background hashing. let reset_accounts = false; - let mut reclaim_result = ReclaimResult::default(); - let reclaim_result = Some(&mut reclaim_result); - self.handle_reclaims(&reclaims, None, false, reclaim_result, reset_accounts); + self.handle_reclaims(&reclaims, None, false, None, reset_accounts); reclaims_time.stop();