reclaims unref accounts from index (#16838)

This commit is contained in:
Jeff Washington (jwash)
2021-04-28 08:50:38 -05:00
committed by GitHub
parent 1864bc2080
commit 6381ee38eb

View File

@ -1737,7 +1737,9 @@ 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;
self.handle_reclaims(&reclaims, None, false, None, reset_accounts);
let mut reclaim_result = ReclaimResult::default();
let reclaim_result = Some(&mut reclaim_result);
self.handle_reclaims(&reclaims, None, false, reclaim_result, reset_accounts);
reclaims_time.stop();