diff --git a/gossip/src/cluster_info.rs b/gossip/src/cluster_info.rs index 8a21e9fab7e749..d8649a9150b37c 100644 --- a/gossip/src/cluster_info.rs +++ b/gossip/src/cluster_info.rs @@ -3035,7 +3035,7 @@ impl Node { } } -pub fn push_messages_to_peer( +pub fn push_messages_to_peer_for_tests( messages: Vec, self_id: Pubkey, peer_gossip: SocketAddr, diff --git a/local-cluster/src/cluster_tests.rs b/local-cluster/src/cluster_tests.rs index e02645601282b3..277165f681d869 100644 --- a/local-cluster/src/cluster_tests.rs +++ b/local-cluster/src/cluster_tests.rs @@ -680,7 +680,7 @@ pub fn submit_vote_to_cluster_gossip( None, ); - cluster_info::push_messages_to_peer( + cluster_info::push_messages_to_peer_for_tests( vec![CrdsValue::new( CrdsData::Vote( 0,