Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 29803eb

Browse files
committed
cargo fmt
1 parent 6666f5e commit 29803eb

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

token/confidential-transfer/proof-generation/src/transfer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ use {
2121
/// token transfer
2222
const RANGE_PROOF_PADDING_BIT_LENGTH: usize = 16;
2323

24-
/// The proof data required for a confidential transfer instruction when the mint is not extended
25-
/// for fees
24+
/// The proof data required for a confidential transfer instruction when the
25+
/// mint is not extended for fees
2626
pub struct TransferProofData {
2727
pub equality_proof_data: CiphertextCommitmentEqualityProofData,
2828
pub ciphertext_validity_proof_data: BatchedGroupedCiphertext3HandlesValidityProofData,

token/confidential-transfer/proof-generation/src/transfer_with_fee.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ const FEE_AMOUNT_HI_BITS: usize = 32;
3030
const REMAINING_BALANCE_BIT_LENGTH: usize = 64;
3131
const DELTA_BIT_LENGTH: usize = 48;
3232

33-
/// The proof data required for a confidential transfer instruction when the mint is extended for
34-
/// fees
33+
/// The proof data required for a confidential transfer instruction when the
34+
/// mint is extended for fees
3535
pub struct TransferWithFeeProofData {
3636
pub equality_proof_data: CiphertextCommitmentEqualityProofData,
3737
pub transfer_amount_ciphertext_validity_proof_data:

token/program-2022/src/extension/confidential_transfer/processor.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// Remove feature once zk ops syscalls are enabled on all networks
2-
use crate::extension::transfer_hook;
32
#[cfg(feature = "zk-ops")]
43
use {
54
crate::extension::non_transferable::NonTransferableAccount,
@@ -17,8 +16,8 @@ use {
1716
},
1817
memo_transfer::{check_previous_sibling_instruction_is_memo, memo_required},
1918
transfer_fee::TransferFeeConfig,
20-
BaseStateWithExtensions, BaseStateWithExtensionsMut, PodStateWithExtensions,
21-
PodStateWithExtensionsMut,
19+
transfer_hook, BaseStateWithExtensions, BaseStateWithExtensionsMut,
20+
PodStateWithExtensions, PodStateWithExtensionsMut,
2221
},
2322
instruction::{decode_instruction_data, decode_instruction_type},
2423
pod::{PodAccount, PodMint},

0 commit comments

Comments
 (0)