Remove unused get_append_vec_id function (#34949)

remove unused get_append_vec_id fn

Co-authored-by: HaoranYi <haoran.yi@solana.com>
This commit is contained in:
HaoranYi 2024-01-26 15:41:09 -06:00 committed by GitHub
parent 8a0c91d842
commit e38848e519
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 6 deletions

View File

@ -9786,12 +9786,6 @@ pub mod tests {
}
impl AccountsDb {
pub fn get_append_vec_id(&self, pubkey: &Pubkey, slot: Slot) -> Option<AppendVecId> {
let ancestors = vec![(slot, 1)].into_iter().collect();
let result = self.accounts_index.get(pubkey, Some(&ancestors), None);
result.map(|(list, index)| list.slot_list()[index].1.store_id())
}
fn scan_snapshot_stores(
&self,
storage: &SortedStorages,