Removes get_for_tests() (#35311)

This commit is contained in:
Brooks 2024-02-26 14:17:33 -05:00 committed by GitHub
parent 0ab425b43b
commit 8235feefc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 12 deletions

View File

@ -2170,18 +2170,6 @@ pub mod tests {
}
}
impl<T: IndexValue, U: DiskIndexValue + From<T> + Into<T>> AccountsIndex<T, U> {
/// provides the ability to refactor this function on the api without bloody changes
pub fn get_for_tests(
&self,
pubkey: &Pubkey,
ancestors: Option<&Ancestors>,
max_root: Option<Slot>,
) -> AccountIndexGetResult<T> {
self.get(pubkey, ancestors, max_root)
}
}
const COLLECT_ALL_UNSORTED_FALSE: bool = false;
#[test]