|
34 | 34 | solana_program::{ |
35 | 35 | instruction::{AccountMeta, Instruction}, |
36 | 36 | program_error::ProgramError, |
37 | | - sysvar, |
38 | 37 | }, |
39 | 38 | }; |
40 | 39 |
|
@@ -342,10 +341,7 @@ pub fn rotate_supply_elgamal_pubkey( |
342 | 341 | ciphertext_equality_proof: ProofLocation<CiphertextCiphertextEqualityProofData>, |
343 | 342 | ) -> Result<Vec<Instruction>, ProgramError> { |
344 | 343 | 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)]; |
349 | 345 |
|
350 | 346 | let mut expected_instruction_offset = 1; |
351 | 347 | let mut proof_instructions = vec![]; |
@@ -439,7 +435,6 @@ pub fn confidential_mint_with_split_proofs( |
439 | 435 | multisig_signers: &[&Pubkey], |
440 | 436 | equality_proof_location: ProofLocation<CiphertextCommitmentEqualityProofData>, |
441 | 437 | ciphertext_validity_proof_location: ProofLocation< |
442 | | - '_, |
443 | 438 | BatchedGroupedCiphertext3HandlesValidityProofData, |
444 | 439 | >, |
445 | 440 | range_proof_location: ProofLocation<BatchedRangeProofU128Data>, |
@@ -524,7 +519,6 @@ pub fn confidential_burn_with_split_proofs( |
524 | 519 | multisig_signers: &[&Pubkey], |
525 | 520 | equality_proof_location: ProofLocation<CiphertextCommitmentEqualityProofData>, |
526 | 521 | ciphertext_validity_proof_location: ProofLocation< |
527 | | - '_, |
528 | 522 | BatchedGroupedCiphertext3HandlesValidityProofData, |
529 | 523 | >, |
530 | 524 | range_proof_location: ProofLocation<BatchedRangeProofU128Data>, |
|
0 commit comments