Removes InMemAccountsIndex::get() (#35354)

This commit is contained in:
Brooks 2024-02-28 17:57:55 -05:00 committed by GitHub
parent 140c21f8a9
commit 2e10b3b64f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 5 deletions

View File

@ -318,11 +318,6 @@ impl<T: IndexValue, U: DiskIndexValue + From<T> + Into<T>> InMemAccountsIndex<T,
result
}
/// lookup 'pubkey' in index (in mem or on disk)
pub fn get(&self, pubkey: &K) -> Option<AccountMapEntry<T>> {
self.get_internal_cloned(pubkey, |entry| entry)
}
/// set age of 'entry' to the future
/// if 'is_cached', age will be set farther
fn set_age_to_future(&self, entry: &AccountMapEntry<T>, is_cached: bool) {