solana: remove mut (nft bridge)
This commit is contained in:
parent
83cba60597
commit
f89cc2ae25
|
@ -404,7 +404,7 @@
|
|||
},
|
||||
{
|
||||
"name": "mint",
|
||||
"isMut": true,
|
||||
"isMut": false,
|
||||
"isSigner": false
|
||||
},
|
||||
{
|
||||
|
|
|
@ -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>,
|
||||
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue