Skip to content

Commit

Permalink
make leader_tpu_sockets to be public method
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillLykov committed Apr 2, 2024
1 parent 32168ef commit b62e9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tpu-client/src/nonblocking/tpu_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ impl LeaderTpuService {
self.recent_slots.estimated_current_slot()
}

fn leader_tpu_sockets(&self, fanout_slots: u64) -> Vec<SocketAddr> {
pub fn leader_tpu_sockets(&self, fanout_slots: u64) -> Vec<SocketAddr> {
let current_slot = self.recent_slots.estimated_current_slot();
self.leader_tpu_cache
.read()
Expand Down

0 comments on commit b62e9fa

Please sign in to comment.