This commit is contained in:
Greg Fitzgerald
2021-03-04 23:16:53 -08:00
committed by GitHub
parent f035b9c7cd
commit edd159e7d7
9 changed files with 23 additions and 23 deletions

View File

@@ -1861,7 +1861,7 @@ impl AccountsDb {
// `store_accounts_frozen()` above may have purged accounts from some
// other storage entries (the ones that were just overwritten by this
// new storage entry). This means some of those stores might have caused
// this slot to be readded to `self.shrink_candidate_slots`, so delete
// this slot to be read to `self.shrink_candidate_slots`, so delete
// those here
self.shrink_candidate_slots.lock().unwrap().remove(&slot);
@@ -3231,7 +3231,7 @@ impl AccountsDb {
(num_new_roots, num_roots_flushed)
}
// `should_flush_f` is an optional closure that determines wehther a given
// `should_flush_f` is an optional closure that determines whether a given
// account should be flushed. Passing `None` will by default flush all
// accounts
fn flush_slot_cache(