Skip to content

Commit

Permalink
fix: mint authority (#573)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanCode authored Oct 21, 2024
1 parent 47f2718 commit 767d78e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/courses/onchain-development/anchor-cpi.md
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ pub fn add_movie_review(
CpiContext::new_with_signer(
ctx.accounts.token_program.to_account_info(),
MintTo {
authority: ctx.accounts.mint.to_account_info(),
authority: ctx.accounts.initializer.to_account_info(),
to: ctx.accounts.token_account.to_account_info(),
mint: ctx.accounts.mint.to_account_info()
},
Expand Down

0 comments on commit 767d78e

Please sign in to comment.