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 +6
-2
lines changed
token/program-2022/src/extension Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ impl SupplyAccountInfo {
5050 return Err ( TokenError :: InvalidState ) ;
5151 }
5252 // fresh mints are initialized with a zeroed decryptable_supply
53- // TODO: include decryptable supply in InitMint instruction
5453 let current_decyptable_supply = if self . decryptable_supply != PodAeCiphertext :: default ( ) {
5554 // decrypt the current supply
5655 TryInto :: < AeCiphertext > :: try_into ( self . decryptable_supply )
Original file line number Diff line number Diff line change @@ -97,6 +97,9 @@ pub enum ConfidentialMintBurnInstruction {
9797 UpdateDecryptableSupply ,
9898 /// Mints tokens to confidential balance
9999 ///
100+ /// Fails if the destination account is frozen.
101+ /// Fails if the associated mint is extended as `NonTransferable`.
102+ ///
100103 /// Accounts expected by this instruction:
101104 ///
102105 /// * Single authority
@@ -135,6 +138,9 @@ pub enum ConfidentialMintBurnInstruction {
135138 ConfidentialMint ,
136139 /// Burn tokens from confidential balance
137140 ///
141+ /// Fails if the destination account is frozen.
142+ /// Fails if the associated mint is extended as `NonTransferable`.
143+ ///
138144 /// Accounts expected by this instruction:
139145 ///
140146 /// * Single authority
Original file line number Diff line number Diff line change @@ -241,7 +241,6 @@ impl TransferAccountInfo {
241241
242242 /// Create a transfer proof data that is split into equality, ciphertext
243243 /// validity, and range proofs.
244- #[ allow( clippy:: type_complexity) ]
245244 pub fn generate_split_transfer_proof_data (
246245 & self ,
247246 transfer_amount : u64 ,
You can’t perform that action at this time.
0 commit comments