Skip to content

Commit 1a8d7fc

Browse files
author
Jeff Yanta
committed
Update cc program init mint instruction
1 parent a4074c9 commit 1a8d7fc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pkg/solana/currencycreator/instructions_initialize_metadata.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func NewInitializeMetadataInstruction(
5151
},
5252
{
5353
PublicKey: accounts.Mint,
54-
IsWritable: false,
54+
IsWritable: true,
5555
IsSigner: false,
5656
},
5757
{
@@ -64,6 +64,11 @@ func NewInitializeMetadataInstruction(
6464
IsWritable: false,
6565
IsSigner: false,
6666
},
67+
{
68+
PublicKey: SPL_TOKEN_PROGRAM_ID,
69+
IsWritable: false,
70+
IsSigner: false,
71+
},
6772
{
6873
PublicKey: SYSTEM_PROGRAM_ID,
6974
IsWritable: false,

0 commit comments

Comments
 (0)