diff --git a/clients/js-legacy/src/state/mint.ts b/clients/js-legacy/src/state/mint.ts index cb09ec317..b83237cd4 100644 --- a/clients/js-legacy/src/state/mint.ts +++ b/clients/js-legacy/src/state/mint.ts @@ -168,7 +168,7 @@ export async function getAssociatedTokenAddress( ): Promise { if (!allowOwnerOffCurve && !PublicKey.isOnCurve(owner.toBuffer())) throw new TokenOwnerOffCurveError(); - const [address] = await PublicKey.findProgramAddress( + const [address] = PublicKey.findProgramAddressSync( [owner.toBuffer(), programId.toBuffer(), mint.toBuffer()], associatedTokenProgramId, );