Skip to content

Commit

Permalink
Remove dead method in cluster_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ksolana committed Oct 20, 2024
1 parent 2bde0fc commit a8fdb3c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions local-cluster/src/cluster_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,6 @@ use {
std::path::PathBuf,
};

pub fn get_client_facing_addr(
protocol: Protocol,
contact_info: &ContactInfo,
) -> (SocketAddr, SocketAddr) {
let rpc = contact_info.rpc().unwrap();
let mut tpu = contact_info.tpu(protocol).unwrap();
// QUIC certificate authentication requires the IP Address to match. ContactInfo might have
// 0.0.0.0 as the IP instead of 127.0.0.1.
tpu.set_ip(IpAddr::V4(Ipv4Addr::LOCALHOST));
(rpc, tpu)
}

/// Spend and verify from every node in the network
pub fn spend_and_verify_all_nodes<S: ::std::hash::BuildHasher + Sync + Send>(
entry_point_info: &ContactInfo,
Expand Down

0 comments on commit a8fdb3c

Please sign in to comment.