Skip to content

Commit 450c364

Browse files
authored
Fix wrong function names in code doc (#416)
1 parent 10c7932 commit 450c364

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Solnet.Rpc/IRpcClient.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -715,15 +715,15 @@ RequestResult<List<AccountKeyPair>> GetProgramAccounts(string pubKey, Commitment
715715
/// </summary>
716716
/// <param name="commitment">The state commitment to consider when querying the ledger state.</param>
717717
/// <returns>Returns a task that holds the asynchronous operation result and state.</returns>
718-
[Obsolete("DEPRECATED: Please use GetLatestBlockhashAsync instead. This method is expected to be removed in solana-core v2.0")]
718+
[Obsolete("DEPRECATED: Please use GetLatestBlockHashAsync instead. This method is expected to be removed in solana-core v2.0")]
719719
Task<RequestResult<ResponseValue<BlockHash>>> GetRecentBlockHashAsync(Commitment commitment = Commitment.Finalized);
720720

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

729729
/// <summary>

0 commit comments

Comments
 (0)