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 {
50
50
return Err ( TokenError :: InvalidState ) ;
51
51
}
52
52
// fresh mints are initialized with a zeroed decryptable_supply
53
- // TODO: include decryptable supply in InitMint instruction
54
53
let current_decyptable_supply = if self . decryptable_supply != PodAeCiphertext :: default ( ) {
55
54
// decrypt the current supply
56
55
TryInto :: < AeCiphertext > :: try_into ( self . decryptable_supply )
Original file line number Diff line number Diff line change @@ -97,6 +97,9 @@ pub enum ConfidentialMintBurnInstruction {
97
97
UpdateDecryptableSupply ,
98
98
/// Mints tokens to confidential balance
99
99
///
100
+ /// Fails if the destination account is frozen.
101
+ /// Fails if the associated mint is extended as `NonTransferable`.
102
+ ///
100
103
/// Accounts expected by this instruction:
101
104
///
102
105
/// * Single authority
@@ -135,6 +138,9 @@ pub enum ConfidentialMintBurnInstruction {
135
138
ConfidentialMint ,
136
139
/// Burn tokens from confidential balance
137
140
///
141
+ /// Fails if the destination account is frozen.
142
+ /// Fails if the associated mint is extended as `NonTransferable`.
143
+ ///
138
144
/// Accounts expected by this instruction:
139
145
///
140
146
/// * Single authority
Original file line number Diff line number Diff line change @@ -241,7 +241,6 @@ impl TransferAccountInfo {
241
241
242
242
/// Create a transfer proof data that is split into equality, ciphertext
243
243
/// validity, and range proofs.
244
- #[ allow( clippy:: type_complexity) ]
245
244
pub fn generate_split_transfer_proof_data (
246
245
& self ,
247
246
transfer_amount : u64 ,
You can’t perform that action at this time.
0 commit comments