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

Commit a791601

Browse files
committed
remove unnecessary imports
1 parent 8aa1dee commit a791601

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

token/program-2022-test/tests/confidential_transfer.rs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,22 @@ use {
1212
pubkey::Pubkey,
1313
signature::Signer,
1414
signer::{keypair::Keypair, signers::Signers},
15-
system_instruction,
16-
transaction::{Transaction, TransactionError},
15+
transaction::TransactionError,
1716
transport::TransportError,
1817
},
1918
spl_record::state::RecordData,
2019
spl_token_2022::{
2120
error::TokenError,
2221
extension::{
2322
confidential_transfer::{
24-
self,
2523
account_info::{EmptyAccountAccountInfo, TransferAccountInfo, WithdrawAccountInfo},
2624
ConfidentialTransferAccount, MAXIMUM_DEPOSIT_TRANSFER_AMOUNT,
2725
},
2826
BaseStateWithExtensions, ExtensionType,
2927
},
3028
solana_zk_sdk::{
3129
encryption::{auth_encryption::*, elgamal::*, pod::elgamal::PodElGamalCiphertext},
32-
zk_elgamal_proof_program::{
33-
self,
34-
instruction::{ContextStateInfo, ProofInstruction},
35-
proof_data::*,
36-
state::ProofContextState,
37-
},
30+
zk_elgamal_proof_program::proof_data::*,
3831
},
3932
},
4033
spl_token_client::{
@@ -48,7 +41,7 @@ use {
4841
transfer::TransferProofData, transfer_with_fee::TransferWithFeeProofData,
4942
withdraw::WithdrawProofData,
5043
},
51-
std::{convert::TryInto, mem::size_of},
44+
std::convert::TryInto,
5245
};
5346

5447
#[cfg(feature = "zk-ops")]

0 commit comments

Comments
 (0)