Skip to content

Commit

Permalink
update client for harvest tokens to mint
Browse files Browse the repository at this point in the history
  • Loading branch information
samkim-crypto committed Aug 1, 2023
1 parent fe0ad7d commit 21545f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions token/client/src/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2555,14 +2555,13 @@ where
}

/// Harvest withheld confidential tokens to mint
#[cfg(feature = "proof-program")]
pub async fn confidential_transfer_harvest_withheld_tokens_to_mint(
&self,
sources: &[&Pubkey],
) -> TokenResult<T::Output> {
self.process_ixs::<[&dyn Signer; 0]>(
&[
confidential_transfer::instruction::harvest_withheld_tokens_to_mint(
confidential_transfer_fee::instruction::harvest_withheld_tokens_to_mint(
&self.program_id,
&self.pubkey,
sources,
Expand Down

0 comments on commit 21545f8

Please sign in to comment.