You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you look at the Create Associated Token Account method you will see that the Token Program Type is never passed to the Create Account method. This causes the Create Account method to fail with some addresses as it's not using the correct Token Program Type in all cases.
AccountMeta.readonly(
pubKey: Ed25519HDPublicKey.fromBase58(
tokenProgramId?.toBase58() ?? TokenProgram.id.toBase58(), <-- can be changed here too
),
isSigner: false,
),
Expected behavior
Should take the tokenProgramType into consideration
The text was updated successfully, but these errors were encountered:
Describe the bug
If you look at the Create Associated Token Account method you will see that the Token Program Type is never passed to the Create Account method. This causes the Create Account method to fail with some addresses as it's not using the correct Token Program Type in all cases.
Expected behavior
Should take the tokenProgramType into consideration
The text was updated successfully, but these errors were encountered: