Anchor
ConstraintTokenMint
“A token mint constraint was violated”
A token account's mint does not match the token::mint constraint.
Common causes
- Passing a token account for a different mint.
How to fix it
- Pass a token account for the expected mint, usually the ATA of (owner, mint).