Skip to content

Commit

Permalink
bump deprecated version numbers for get_client and `get_multi_clien…
Browse files Browse the repository at this point in the history
…t` (solana-labs#184)

bump deprecated version numbers
  • Loading branch information
gregcusack authored Mar 11, 2024
1 parent f205d0e commit 209924d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gossip/src/gossip_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ pub fn discover(
}

/// Creates a ThinClient by selecting a valid node at random
#[deprecated(since = "1.18.0", note = "Interface will change")]
#[deprecated(since = "1.18.6", note = "Interface will change")]
pub fn get_client(
nodes: &[ContactInfo],
socket_addr_space: &SocketAddrSpace,
Expand All @@ -210,7 +210,7 @@ pub fn get_client(
ThinClient::new(rpc, tpu, connection_cache)
}

#[deprecated(since = "1.18.0", note = "Will be removed in favor of get_client")]
#[deprecated(since = "1.18.6", note = "Will be removed in favor of get_client")]
pub fn get_multi_client(
nodes: &[ContactInfo],
socket_addr_space: &SocketAddrSpace,
Expand Down

0 comments on commit 209924d

Please sign in to comment.