solana: remove mut (nft bridge)

This commit is contained in:
A5 Pickle 2024-03-27 15:05:13 -05:00
parent 83cba60597
commit f89cc2ae25
No known key found for this signature in database
GPG Key ID: DD6C727938DE8E65
3 changed files with 3 additions and 3 deletions

View File

@ -404,7 +404,7 @@
},
{
"name": "mint",
"isMut": true,
"isMut": false,
"isSigner": false
},
{

View File

@ -56,7 +56,7 @@ pub struct TransferNative<'b> {
pub from: Mut<Data<'b, SplAccount, { AccountState::Initialized }>>,
pub mint: Mut<Data<'b, SplMint, { AccountState::Initialized }>>,
pub mint: Data<'b, SplMint, { AccountState::Initialized }>,
/// SPL Metadata for the associated Mint
pub spl_metadata: SplTokenMeta<'b>,

View File

@ -354,7 +354,7 @@ pub fn transfer_native(
AccountMeta::new(payer, true),
AccountMeta::new_readonly(config_key, false),
AccountMeta::new(from, false),
AccountMeta::new(mint, false),
AccountMeta::new_readonly(mint, false),
AccountMeta::new_readonly(spl_metadata, false),
AccountMeta::new(custody_key, false),
AccountMeta::new_readonly(authority_signer_key, false),