Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
abcalphabet committed Oct 4, 2024
1 parent 3908688 commit 57684cf
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ use {
solana_program::{
instruction::{AccountMeta, Instruction},
program_error::ProgramError,
sysvar,
},
};

Expand Down Expand Up @@ -342,10 +341,7 @@ pub fn rotate_supply_elgamal_pubkey(
ciphertext_equality_proof: ProofLocation<CiphertextCiphertextEqualityProofData>,
) -> Result<Vec<Instruction>, ProgramError> {
check_program_account(token_program_id)?;
let mut accounts = vec![
AccountMeta::new(*mint, false),
AccountMeta::new_readonly(sysvar::instructions::id(), false),
];
let mut accounts = vec![AccountMeta::new(*mint, false)];

let mut expected_instruction_offset = 1;
let mut proof_instructions = vec![];
Expand Down Expand Up @@ -439,7 +435,6 @@ pub fn confidential_mint_with_split_proofs(
multisig_signers: &[&Pubkey],
equality_proof_location: ProofLocation<CiphertextCommitmentEqualityProofData>,
ciphertext_validity_proof_location: ProofLocation<
'_,
BatchedGroupedCiphertext3HandlesValidityProofData,
>,
range_proof_location: ProofLocation<BatchedRangeProofU128Data>,
Expand Down Expand Up @@ -524,7 +519,6 @@ pub fn confidential_burn_with_split_proofs(
multisig_signers: &[&Pubkey],
equality_proof_location: ProofLocation<CiphertextCommitmentEqualityProofData>,
ciphertext_validity_proof_location: ProofLocation<
'_,
BatchedGroupedCiphertext3HandlesValidityProofData,
>,
range_proof_location: ProofLocation<BatchedRangeProofU128Data>,
Expand Down

0 comments on commit 57684cf

Please sign in to comment.