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)]