Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 68d0b28

Browse files
CriesofCarrotswillhickey
authored andcommitted
Undo deprecation message edit on RpcClient::get_stake_activation (#2171)
Undo deprecation message edit
1 parent 6ccdbbc commit 68d0b28

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: rpc-client-api/src/request.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ pub enum RpcRequest {
9696
GetSlotsPerSegment,
9797
#[deprecated(
9898
since = "1.18.18",
99-
note = "Do not use; getStakeActivation is not supported by the JSON-RPC server."
99+
note = "Do not use; getStakeActivation is deprecated on the JSON-RPC server."
100100
)]
101101
GetStakeActivation,
102102
GetStakeMinimumDelegation,

Diff for: rpc-client/src/nonblocking/rpc_client.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2152,8 +2152,8 @@ impl RpcClient {
21522152
/// ```
21532153
#[deprecated(
21542154
since = "1.18.18",
2155-
note = "Do not use; getStakeActivation is not supported by the JSON-RPC server. Please \
2156-
use the stake account and StakeHistory sysvar to call \
2155+
note = "Do not use; getStakeActivation is deprecated on the JSON-RPC server. Please use \
2156+
the stake account and StakeHistory sysvar to call \
21572157
`Delegation::stake_activating_and_deactivating()` instead"
21582158
)]
21592159
#[allow(deprecated)]

Diff for: rpc-client/src/rpc_client.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1790,8 +1790,8 @@ impl RpcClient {
17901790
/// ```
17911791
#[deprecated(
17921792
since = "1.18.18",
1793-
note = "Do not use; getStakeActivation is not supported by the JSON-RPC server. Please \
1794-
use the stake account and StakeHistory sysvar to call \
1793+
note = "Do not use; getStakeActivation is deprecated on the JSON-RPC server. Please use \
1794+
the stake account and StakeHistory sysvar to call \
17951795
`Delegation::stake_activating_and_deactivating()` instead"
17961796
)]
17971797
#[allow(deprecated)]

0 commit comments

Comments
 (0)