From f5cc9fb3938fdc33f04a388ba37165e9c3e01f71 Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Wed, 17 Jul 2024 11:07:34 -0600 Subject: [PATCH] Undo deprecation message edit --- rpc-client-api/src/request.rs | 2 +- rpc-client/src/nonblocking/rpc_client.rs | 4 ++-- rpc-client/src/rpc_client.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rpc-client-api/src/request.rs b/rpc-client-api/src/request.rs index 78e25ac829f..c10b6f4b40b 100644 --- a/rpc-client-api/src/request.rs +++ b/rpc-client-api/src/request.rs @@ -96,7 +96,7 @@ pub enum RpcRequest { GetSlotsPerSegment, #[deprecated( since = "1.18.18", - note = "Do not use; getStakeActivation is not supported by the JSON-RPC server." + note = "Do not use; getStakeActivation is deprecated on the JSON-RPC server." )] GetStakeActivation, GetStakeMinimumDelegation, diff --git a/rpc-client/src/nonblocking/rpc_client.rs b/rpc-client/src/nonblocking/rpc_client.rs index 29a9d8a2ed2..30c11c63945 100644 --- a/rpc-client/src/nonblocking/rpc_client.rs +++ b/rpc-client/src/nonblocking/rpc_client.rs @@ -2152,8 +2152,8 @@ impl RpcClient { /// ``` #[deprecated( since = "1.18.18", - note = "Do not use; getStakeActivation is not supported by the JSON-RPC server. Please \ - use the stake account and StakeHistory sysvar to call \ + note = "Do not use; getStakeActivation is deprecated on the JSON-RPC server. Please use \ + the stake account and StakeHistory sysvar to call \ `Delegation::stake_activating_and_deactivating()` instead" )] #[allow(deprecated)] diff --git a/rpc-client/src/rpc_client.rs b/rpc-client/src/rpc_client.rs index 04359578b61..bf5848f6e7a 100644 --- a/rpc-client/src/rpc_client.rs +++ b/rpc-client/src/rpc_client.rs @@ -1790,8 +1790,8 @@ impl RpcClient { /// ``` #[deprecated( since = "1.18.18", - note = "Do not use; getStakeActivation is not supported by the JSON-RPC server. Please \ - use the stake account and StakeHistory sysvar to call \ + note = "Do not use; getStakeActivation is deprecated on the JSON-RPC server. Please use \ + the stake account and StakeHistory sysvar to call \ `Delegation::stake_activating_and_deactivating()` instead" )] #[allow(deprecated)]