AcctIdx: pass bins to BucketMapHolder (#19906)

This commit is contained in:
Jeff Washington (jwash)
2021-09-15 13:07:53 -05:00
committed by GitHub
parent 99f2c746d1
commit eddd583cd5
4 changed files with 8 additions and 12 deletions

View File

@@ -41,10 +41,6 @@ impl<T: IndexValue> InMemAccountsIndex<T> {
&self.map_internal
}
pub fn new_bucket_map_holder() -> Arc<BucketMapHolder<T>> {
Arc::new(BucketMapHolder::new())
}
pub fn items<R>(&self, range: &Option<&R>) -> Vec<(K, AccountMapEntry<T>)>
where
R: RangeBounds<Pubkey> + std::fmt::Debug,