Skip to content

Commit

Permalink
Fix wrong function names in code doc (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyNorman authored Nov 26, 2022
1 parent 10c7932 commit 450c364
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Solnet.Rpc/IRpcClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -715,15 +715,15 @@ RequestResult<List<AccountKeyPair>> GetProgramAccounts(string pubKey, Commitment
/// </summary>
/// <param name="commitment">The state commitment to consider when querying the ledger state.</param>
/// <returns>Returns a task that holds the asynchronous operation result and state.</returns>
[Obsolete("DEPRECATED: Please use GetLatestBlockhashAsync instead. This method is expected to be removed in solana-core v2.0")]
[Obsolete("DEPRECATED: Please use GetLatestBlockHashAsync instead. This method is expected to be removed in solana-core v2.0")]
Task<RequestResult<ResponseValue<BlockHash>>> GetRecentBlockHashAsync(Commitment commitment = Commitment.Finalized);

/// <summary>
/// Gets a recent block hash.
/// </summary>
/// <param name="commitment">The state commitment to consider when querying the ledger state.</param>
/// <returns>Returns an object that wraps the result along with possible errors with the request.</returns>
[Obsolete("DEPRECATED: Please use GetLatestBlockhash instead. This method is expected to be removed in solana-core v2.0")]
[Obsolete("DEPRECATED: Please use GetLatestBlockHash instead. This method is expected to be removed in solana-core v2.0")]
RequestResult<ResponseValue<BlockHash>> GetRecentBlockHash(Commitment commitment = Commitment.Finalized);

/// <summary>
Expand Down

0 comments on commit 450c364

Please sign in to comment.