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

Commit fdf36fa

Browse files
fix: correcting import in transfer hook js example (#6219)
correcting import in transfer hook js example Correcting `transferCheckedWithHook` to `transferCheckedWithTransferHook` in `/examples/transferHook.ts`
1 parent 5ccdc00 commit fdf36fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

token/js/examples/transferHook.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
getMintLen,
1717
TOKEN_2022_PROGRAM_ID,
1818
updateTransferHook,
19-
transferCheckedWithHook,
19+
transferCheckedWithTransferHook,
2020
getAssociatedTokenAddressSync,
2121
ASSOCIATED_TOKEN_PROGRAM_ID,
2222
} from '../src';
@@ -82,7 +82,7 @@ import {
8282
ASSOCIATED_TOKEN_PROGRAM_ID
8383
);
8484

85-
await transferCheckedWithHook(
85+
await transferCheckedWithTransferHook(
8686
connection,
8787
payer,
8888
senderAta,

0 commit comments

Comments
 (0)