Skip to content

Commit 10d7d99

Browse files
committed
chore: add anchor serialize
1 parent 1cb425e commit 10d7d99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk-libs/compressed-token-sdk/src/instructions/create_compressed_mint.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use borsh::{BorshDeserialize, BorshSerialize};
1+
use crate::{AnchorDeserialize, AnchorSerialize};
22
use light_compressed_account::instruction_data::compressed_proof::CompressedProof;
33
use light_ctoken_types::{
44
self, instructions::extensions::ExtensionInstructionData, COMPRESSED_MINT_SEED,
@@ -10,7 +10,7 @@ use solana_pubkey::Pubkey;
1010
pub const CREATE_COMPRESSED_MINT_DISCRIMINATOR: u8 = 100;
1111

1212
/// Input struct for creating a compressed mint instruction
13-
#[derive(Debug, Clone, BorshSerialize, BorshDeserialize)]
13+
#[derive(Debug, Clone, AnchorDeserialize, AnchorSerialize)]
1414
pub struct CreateCompressedMintInputs {
1515
pub decimals: u8,
1616
pub mint_authority: Pubkey,

0 commit comments

Comments
 (0)