@@ -1523,7 +1523,7 @@ pub fn mint_to(
15231523 token_program_id : & Pubkey ,
15241524 mint_pubkey : & Pubkey ,
15251525 account_pubkey : & Pubkey ,
1526- owner_pubkey : & Pubkey ,
1526+ mint_authority_pubkey : & Pubkey ,
15271527 signer_pubkeys : & [ & Pubkey ] ,
15281528 amount : u64 ,
15291529) -> Result < Instruction , ProgramError > {
@@ -1534,7 +1534,7 @@ pub fn mint_to(
15341534 accounts. push ( AccountMeta :: new ( * mint_pubkey, false ) ) ;
15351535 accounts. push ( AccountMeta :: new ( * account_pubkey, false ) ) ;
15361536 accounts. push ( AccountMeta :: new_readonly (
1537- * owner_pubkey ,
1537+ * mint_authority_pubkey ,
15381538 signer_pubkeys. is_empty ( ) ,
15391539 ) ) ;
15401540 for signer_pubkey in signer_pubkeys. iter ( ) {
@@ -1738,7 +1738,7 @@ pub fn mint_to_checked(
17381738 token_program_id : & Pubkey ,
17391739 mint_pubkey : & Pubkey ,
17401740 account_pubkey : & Pubkey ,
1741- owner_pubkey : & Pubkey ,
1741+ mint_authority_pubkey : & Pubkey ,
17421742 signer_pubkeys : & [ & Pubkey ] ,
17431743 amount : u64 ,
17441744 decimals : u8 ,
@@ -1750,7 +1750,7 @@ pub fn mint_to_checked(
17501750 accounts. push ( AccountMeta :: new ( * mint_pubkey, false ) ) ;
17511751 accounts. push ( AccountMeta :: new ( * account_pubkey, false ) ) ;
17521752 accounts. push ( AccountMeta :: new_readonly (
1753- * owner_pubkey ,
1753+ * mint_authority_pubkey ,
17541754 signer_pubkeys. is_empty ( ) ,
17551755 ) ) ;
17561756 for signer_pubkey in signer_pubkeys. iter ( ) {
0 commit comments