diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index 672921516a..43548f02ff 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -2432,14 +2432,14 @@ impl AccountsDb { // dirty_stores - set of stores which had accounts removed or recently rooted fn construct_candidate_clean_keys( &self, - max_clean_root: Option, + max_clean_root_inclusive: Option, is_startup: bool, last_full_snapshot_slot: Option, timings: &mut CleanKeyTimings, ) -> Vec { let mut dirty_store_processing_time = Measure::start("dirty_store_processing"); let max_slot_inclusive = - max_clean_root.unwrap_or_else(|| self.accounts_index.max_root_inclusive()); + max_clean_root_inclusive.unwrap_or_else(|| self.accounts_index.max_root_inclusive()); let mut dirty_stores = Vec::with_capacity(self.dirty_stores.len()); self.dirty_stores.retain(|(slot, _store_id), store| { if *slot > max_slot_inclusive {