From ee29daa47036f559bf6111324af3748ad5c5a39b Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Wed, 3 Jul 2024 14:25:25 -0600 Subject: [PATCH] Correct deprecation note --- rpc-client/src/nonblocking/rpc_client.rs | 4 ++-- rpc-client/src/rpc_client.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rpc-client/src/nonblocking/rpc_client.rs b/rpc-client/src/nonblocking/rpc_client.rs index bcaf3e16f41d0b..45509b4bb3ddc2 100644 --- a/rpc-client/src/nonblocking/rpc_client.rs +++ b/rpc-client/src/nonblocking/rpc_client.rs @@ -2078,8 +2078,8 @@ impl RpcClient { /// ``` #[deprecated( since = "1.18.18", - note = "Do not use; getStakeActivation is deprecated on the JSON-RPC server. Please use \ - the stake account and StakeHistory sysvar to call \ + note = "Do not use; getStakeActivation is not supported by the JSON-RPC server. Please \ + use the stake account and StakeHistory sysvar to call \ `Delegation::stake_activating_and_deactivating()` instead" )] pub async fn get_stake_activation( diff --git a/rpc-client/src/rpc_client.rs b/rpc-client/src/rpc_client.rs index eedb1c14ec1539..d81a0e5067efcd 100644 --- a/rpc-client/src/rpc_client.rs +++ b/rpc-client/src/rpc_client.rs @@ -1776,8 +1776,8 @@ impl RpcClient { /// ``` #[deprecated( since = "1.18.18", - note = "Do not use; getStakeActivation is deprecated on the JSON-RPC server. Please use \ - the stake account and StakeHistory sysvar to call \ + note = "Do not use; getStakeActivation is not supported by the JSON-RPC server. Please \ + use the stake account and StakeHistory sysvar to call \ `Delegation::stake_activating_and_deactivating()` instead" )] #[allow(deprecated)]