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

Commit 57684cf

Browse files
committed
cleanup
1 parent 3908688 commit 57684cf

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

token/program-2022/src/extension/confidential_mint_burn/instruction.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ use {
3434
solana_program::{
3535
instruction::{AccountMeta, Instruction},
3636
program_error::ProgramError,
37-
sysvar,
3837
},
3938
};
4039

@@ -342,10 +341,7 @@ pub fn rotate_supply_elgamal_pubkey(
342341
ciphertext_equality_proof: ProofLocation<CiphertextCiphertextEqualityProofData>,
343342
) -> Result<Vec<Instruction>, ProgramError> {
344343
check_program_account(token_program_id)?;
345-
let mut accounts = vec![
346-
AccountMeta::new(*mint, false),
347-
AccountMeta::new_readonly(sysvar::instructions::id(), false),
348-
];
344+
let mut accounts = vec![AccountMeta::new(*mint, false)];
349345

350346
let mut expected_instruction_offset = 1;
351347
let mut proof_instructions = vec![];
@@ -439,7 +435,6 @@ pub fn confidential_mint_with_split_proofs(
439435
multisig_signers: &[&Pubkey],
440436
equality_proof_location: ProofLocation<CiphertextCommitmentEqualityProofData>,
441437
ciphertext_validity_proof_location: ProofLocation<
442-
'_,
443438
BatchedGroupedCiphertext3HandlesValidityProofData,
444439
>,
445440
range_proof_location: ProofLocation<BatchedRangeProofU128Data>,
@@ -524,7 +519,6 @@ pub fn confidential_burn_with_split_proofs(
524519
multisig_signers: &[&Pubkey],
525520
equality_proof_location: ProofLocation<CiphertextCommitmentEqualityProofData>,
526521
ciphertext_validity_proof_location: ProofLocation<
527-
'_,
528522
BatchedGroupedCiphertext3HandlesValidityProofData,
529523
>,
530524
range_proof_location: ProofLocation<BatchedRangeProofU128Data>,

0 commit comments

Comments
 (0)