Closed lithdew closed 5 months ago
Hi Kenta, I'm a bit confused. Aside from the instruction discriminator (which is taken into account in the generated code), the CreateIdempotent
instruction of the Associated Token program doesn't seem to accept any additional data.
Right - the instruction discriminator (1) in this case I believe does not get included into the instruction data. The instruction data for CreateIdempotent is undefined.
Oh I see! Well spotted, I'll fix that today. 🫡
This should be fixed in version 0.1.4
. 🙏
getCreateAssociatedTokenIdempotentInstruction
does not specify any data. The data it should specify is Uint8Array.of(1).