Skip to content

Commit

Permalink
update changelog and remove deprecated label on `gossip_service::get_…
Browse files Browse the repository at this point in the history
…client()` (anza-xyz#227)

update changelog and remove deprecated label on get_client
  • Loading branch information
gregcusack authored and willhickey committed Mar 16, 2024
1 parent d3c0adf commit 82fefb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Release channels have their own copy of this changelog:
* New program deployments default to the exact size of a program, instead of
double the size. Program accounts must be extended with `solana program extend`
before an upgrade if they need to accommodate larger programs.
* Interface for `gossip_service::get_client()` has changed. `gossip_service::get_multi_client()` has been removed.
* Upgrade Notes
* `solana-program` and `solana-sdk` default to support for Borsh v1, with
limited backward compatibility for v0.10 and v0.9. Please upgrade to Borsh v1.
Expand Down
3 changes: 1 addition & 2 deletions gossip/src/gossip_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,7 @@ pub fn discover(
))
}

/// Creates a ThinClient by selecting a valid node at random
#[deprecated(since = "1.18.6", note = "Interface will change")]
/// Creates a TpuClient by selecting a valid node at random
pub fn get_client(
nodes: &[ContactInfo],
connection_cache: Arc<ConnectionCache>,
Expand Down

0 comments on commit 82fefb7

Please sign in to comment.