solana-program-library
solana-program-library copied to clipboard
Instruction `mint_to_checked` should take `mint_authority` not `owner`
I believe this instruction has the wrong parameter name: https://github.com/solana-labs/solana-program-library/blob/559e2ec8634a7206422ab9660b8695f6b970dab1/token/program-2022/src/instruction.rs#L1694
As per the documentation on this instruction variant, this account is the mint authority: https://github.com/solana-labs/solana-program-library/blob/559e2ec8634a7206422ab9660b8695f6b970dab1/token/program-2022/src/instruction.rs#L379
Even though in the multi-sig case this can be the multi-sig account, it's still in regards to the "minting tokens authority".