Skip to content

Commit

Permalink
update shank
Browse files Browse the repository at this point in the history
  • Loading branch information
billythedummy committed Jun 29, 2023
1 parent ef0fb05 commit 70cf1c0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion token-metadata/js/idl/mpl_token_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@
},
{
"name": "updateAuthority",
"isMut": true,
"isMut": false,
"isSigner": true,
"desc": "Metadata update authority"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const SetTokenStandardStruct = new beet.BeetArgsStruct<{ instructionDiscr
* Accounts required by the _SetTokenStandard_ instruction
*
* @property [_writable_] metadata Metadata account
* @property [_writable_, **signer**] updateAuthority Metadata update authority
* @property [**signer**] updateAuthority Metadata update authority
* @property [] mint Mint account
* @property [] edition (optional) Edition account
* @category Instructions
Expand Down Expand Up @@ -65,7 +65,7 @@ export function createSetTokenStandardInstruction(
},
{
pubkey: accounts.updateAuthority,
isWritable: true,
isWritable: false,
isSigner: true,
},
{
Expand Down
2 changes: 1 addition & 1 deletion token-metadata/program/src/instruction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ pub enum MetadataInstruction {

/// Set the token standard of the asset.
#[account(0, writable, name="metadata", desc="Metadata account")]
#[account(1, signer, writable, name="update_authority", desc="Metadata update authority")]
#[account(1, signer, name="update_authority", desc="Metadata update authority")]
#[account(2, name="mint", desc="Mint account")]
#[account(3, optional, name="edition", desc="Edition account")]
SetTokenStandard,
Expand Down

0 comments on commit 70cf1c0

Please sign in to comment.