From 8235feefc408853675e3711e6c2690521d5420b2 Mon Sep 17 00:00:00 2001 From: Brooks Date: Mon, 26 Feb 2024 14:17:33 -0500 Subject: [PATCH] Removes get_for_tests() (#35311) --- accounts-db/src/accounts_index.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/accounts-db/src/accounts_index.rs b/accounts-db/src/accounts_index.rs index 3faae999b..68e548c5e 100644 --- a/accounts-db/src/accounts_index.rs +++ b/accounts-db/src/accounts_index.rs @@ -2170,18 +2170,6 @@ pub mod tests { } } - impl + Into> AccountsIndex { - /// 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, - ) -> AccountIndexGetResult { - self.get(pubkey, ancestors, max_root) - } - } - const COLLECT_ALL_UNSORTED_FALSE: bool = false; #[test]