add _inclusive (#27310)
This commit is contained in:
parent
b79abb4fab
commit
66aa81647b
|
@ -1717,11 +1717,11 @@ impl<T: IndexValue> AccountsIndex<T> {
|
|||
&self,
|
||||
pubkey: &Pubkey,
|
||||
reclaims: &mut SlotList<T>,
|
||||
max_clean_root: Option<Slot>,
|
||||
max_clean_root_inclusive: Option<Slot>,
|
||||
) {
|
||||
let mut is_slot_list_empty = false;
|
||||
self.slot_list_mut(pubkey, |slot_list| {
|
||||
self.purge_older_root_entries(slot_list, reclaims, max_clean_root);
|
||||
self.purge_older_root_entries(slot_list, reclaims, max_clean_root_inclusive);
|
||||
is_slot_list_empty = slot_list.is_empty();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue