This repository was archived by the owner on Mar 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
program-2022/src/extension/confidential_transfer Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -739,6 +739,7 @@ async fn confidential_transfer_deposit() {
739
739
assert_eq ! ( extension. actual_pending_balance_credit_counter, 2 . into( ) ) ;
740
740
}
741
741
742
+ #[ allow( clippy:: too_many_arguments) ]
742
743
#[ cfg( feature = "zk-ops" ) ]
743
744
async fn withdraw_with_option < S : Signers > (
744
745
token : & Token < ProgramBanksClientProcessTransaction > ,
Original file line number Diff line number Diff line change @@ -273,6 +273,7 @@ impl TransferAccountInfo {
273
273
/// Create a transfer proof data that is split into equality, ciphertext
274
274
/// validity (transfer amount), percentage-with-cap, ciphertext validity
275
275
/// (fee), and range proofs.
276
+ #[ allow( clippy:: too_many_arguments) ]
276
277
pub fn generate_split_transfer_with_fee_proof_data (
277
278
& self ,
278
279
transfer_amount : u64 ,
Original file line number Diff line number Diff line change @@ -746,7 +746,7 @@ pub fn inner_configure_account(
746
746
TokenInstruction :: ConfidentialTransferExtension ,
747
747
ConfidentialTransferInstruction :: ConfigureAccount ,
748
748
& ConfigureAccountInstructionData {
749
- decryptable_zero_balance : decryptable_zero_balance . into ( ) ,
749
+ decryptable_zero_balance,
750
750
maximum_pending_balance_credit_counter : maximum_pending_balance_credit_counter. into ( ) ,
751
751
proof_instruction_offset,
752
752
} ,
@@ -1047,7 +1047,7 @@ pub fn withdraw(
1047
1047
mint,
1048
1048
amount,
1049
1049
decimals,
1050
- new_decryptable_available_balance. into ( ) ,
1050
+ new_decryptable_available_balance,
1051
1051
authority,
1052
1052
multisig_signers,
1053
1053
equality_proof_data_location,
@@ -1334,7 +1334,7 @@ pub fn apply_pending_balance(
1334
1334
token_program_id,
1335
1335
token_account,
1336
1336
pending_balance_instructions,
1337
- new_decryptable_available_balance. into ( ) ,
1337
+ new_decryptable_available_balance,
1338
1338
authority,
1339
1339
multisig_signers,
1340
1340
) // calls check_program_account
You can’t perform that action at this time.
0 commit comments