Rename rpc_peers() to all_rpc_peers() for consistency

This commit is contained in:
Michael Vines
2020-01-30 13:21:02 -07:00
parent 3f3aec29d1
commit 99b2504b38
3 changed files with 12 additions and 11 deletions

View File

@@ -225,7 +225,7 @@ fn get_rpc_addr(
cluster_info.read().unwrap().contact_info_trace()
);
let mut rpc_peers = cluster_info.read().unwrap().rpc_peers();
let mut rpc_peers = cluster_info.read().unwrap().all_rpc_peers();
let shred_version_required = !rpc_peers
.iter()