Skip to content

Commit 4456591

Browse files
authored
chore: fix some minor issues in the comments (#1012)
Signed-off-by: suranmiao <[email protected]>
1 parent b241205 commit 4456591

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

packages/compat/src/__tests__/instruction-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ describe('fromLegacyTransactionInstruction', () => {
117117
expect(converted).toBeFrozenObject();
118118
});
119119

120-
it('applies no acccounts given an instruction with no keys', () => {
120+
it('applies no accounts given an instruction with no keys', () => {
121121
const programId = new Uint8Array([5, 6, 7, 8]);
122122
const data = new Uint8Array([40, 50, 60]);
123123

packages/react/src/useSignIn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ type Output = Omit<SolanaSignInOutput, 'account' | 'signatureType'> &
2929
* Use the ['Sign In With Solana'](https://phantom.app/learn/developers/sign-in-with-solana) feature
3030
* of a {@link UiWallet} or {@link UiWalletAccount}.
3131
*
32-
* @returns A function that you can call to sign in with the particular wallet and address specfied
32+
* @returns A function that you can call to sign in with the particular wallet and address specified
3333
* by the supplied {@link UiWalletAccount}
3434
*
3535
* @example

packages/rpc-api/src/__typetests__/simulate-transaction-typetest.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const base64Transaction = 'SomeTx11111111111111111111111111111' as Base64Encoded
5454

5555
// [DESCRIBE] `innerInstructions`.
5656
{
57-
// It materializes inner instructions in the repsonse when `true`
57+
// It materializes inner instructions in the response when `true`
5858
{
5959
rpc.simulateTransaction(base64Transaction, {
6060
encoding: 'base64',
@@ -63,7 +63,7 @@ const base64Transaction = 'SomeTx11111111111111111111111111111' as Base64Encoded
6363
value: TransactionForFullMetaInnerInstructionsParsed | TransactionForFullMetaInnerInstructionsUnparsed;
6464
}>;
6565
}
66-
// It does not materialize inner instructions in the repsonse when `false` or omitted
66+
// It does not materialize inner instructions in the response when `false` or omitted
6767
{
6868
rpc.simulateTransaction(base64Transaction, {
6969
encoding: 'base64',
@@ -79,14 +79,14 @@ const base64Transaction = 'SomeTx11111111111111111111111111111' as Base64Encoded
7979

8080
// [DESCRIBE] `replaceRecentBlockhash`.
8181
{
82-
// It materializes a replacement blockhash in the repsonse when `true`
82+
// It materializes a replacement blockhash in the response when `true`
8383
{
8484
rpc.simulateTransaction(base64Transaction, {
8585
encoding: 'base64',
8686
replaceRecentBlockhash: true,
8787
}) satisfies PendingRpcRequest<{ value: { replacementBlockhash: TransactionBlockhashLifetime } }>;
8888
}
89-
// It does not materialize a replacement blockhash in the repsonse when `false` or omitted
89+
// It does not materialize a replacement blockhash in the response when `false` or omitted
9090
{
9191
rpc.simulateTransaction(base64Transaction, {
9292
encoding: 'base64',

packages/rpc-api/src/getTransactionCount.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ type GetTransactionCountApiResponse = bigint;
44

55
export type GetTransactionCountApi = {
66
/**
7-
* Returns the current number of transactions to have achieved a given level of committment.
7+
* Returns the current number of transactions to have achieved a given level of commitment.
88
*
99
* @see https://solana.com/docs/rpc/http/gettransactioncount
1010
*/

0 commit comments

Comments
 (0)