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:
parent
8a0c91d842
commit
e38848e519
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue