All Questions
1 question
0
votes
0
answers
52
views
Calling mint_to for second times error: ConstraintMintMintAuthority. Error Number: 2016. Error Message: A mint mint authority constraint was violated
Initialize and Mint token functions:
pub fn init_token(ctx: Context<InitToken>, metadata: InitTokenParams) -> Result<()> {
let authority = &ctx.accounts.payer;
let ...