From 02a6322e9dcd299a822190f48416ef5c552ae2cb Mon Sep 17 00:00:00 2001 From: ksolana <110843012+ksolana@users.noreply.github.com> Date: Fri, 18 Oct 2024 19:56:35 -0700 Subject: [PATCH] Remove dead method in cluster_info_vote_listener.rs --- core/src/cluster_info_vote_listener.rs | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/core/src/cluster_info_vote_listener.rs b/core/src/cluster_info_vote_listener.rs index 06d501d4865ad0..32d839f834bd0c 100644 --- a/core/src/cluster_info_vote_listener.rs +++ b/core/src/cluster_info_vote_listener.rs @@ -377,31 +377,6 @@ impl ClusterInfoVoteListener { } } - #[cfg(test)] - pub fn get_and_process_votes_for_tests( - gossip_vote_txs_receiver: &VerifiedVoteTransactionsReceiver, - vote_tracker: &VoteTracker, - root_bank: &Bank, - subscriptions: &RpcSubscriptions, - gossip_verified_vote_hash_sender: &GossipVerifiedVoteHashSender, - verified_vote_sender: &VerifiedVoteSender, - replay_votes_receiver: &ReplayVoteReceiver, - ) -> Result { - Self::listen_and_confirm_votes( - gossip_vote_txs_receiver, - vote_tracker, - root_bank, - subscriptions, - gossip_verified_vote_hash_sender, - verified_vote_sender, - replay_votes_receiver, - &None, - &None, - &mut None, - &mut HashMap::new(), - ) - } - #[allow(clippy::too_many_arguments)] fn listen_and_confirm_votes( gossip_vote_txs_receiver: &VerifiedVoteTransactionsReceiver,