@@ -760,7 +760,7 @@ pub fn inner_configure_account(
760760 token_program_id : & Pubkey ,
761761 token_account : & Pubkey ,
762762 mint : & Pubkey ,
763- decryptable_zero_balance : PodAeCiphertext ,
763+ decryptable_zero_balance : & DecryptableBalance ,
764764 maximum_pending_balance_credit_counter : u64 ,
765765 authority : & Pubkey ,
766766 multisig_signers : & [ & Pubkey ] ,
@@ -802,7 +802,7 @@ pub fn inner_configure_account(
802802 TokenInstruction :: ConfidentialTransferExtension ,
803803 ConfidentialTransferInstruction :: ConfigureAccount ,
804804 & ConfigureAccountInstructionData {
805- decryptable_zero_balance,
805+ decryptable_zero_balance : * decryptable_zero_balance ,
806806 maximum_pending_balance_credit_counter : maximum_pending_balance_credit_counter. into ( ) ,
807807 proof_instruction_offset,
808808 } ,
@@ -815,7 +815,7 @@ pub fn configure_account(
815815 token_program_id : & Pubkey ,
816816 token_account : & Pubkey ,
817817 mint : & Pubkey ,
818- decryptable_zero_balance : PodAeCiphertext ,
818+ decryptable_zero_balance : & DecryptableBalance ,
819819 maximum_pending_balance_credit_counter : u64 ,
820820 authority : & Pubkey ,
821821 multisig_signers : & [ & Pubkey ] ,
@@ -1013,7 +1013,7 @@ pub fn inner_withdraw(
10131013 mint : & Pubkey ,
10141014 amount : u64 ,
10151015 decimals : u8 ,
1016- new_decryptable_available_balance : DecryptableBalance ,
1016+ new_decryptable_available_balance : & DecryptableBalance ,
10171017 authority : & Pubkey ,
10181018 multisig_signers : & [ & Pubkey ] ,
10191019 equality_proof_data_location : ProofLocation < CiphertextCommitmentEqualityProofData > ,
@@ -1076,7 +1076,7 @@ pub fn inner_withdraw(
10761076 & WithdrawInstructionData {
10771077 amount : amount. into ( ) ,
10781078 decimals,
1079- new_decryptable_available_balance,
1079+ new_decryptable_available_balance : * new_decryptable_available_balance ,
10801080 equality_proof_instruction_offset,
10811081 range_proof_instruction_offset,
10821082 } ,
@@ -1091,7 +1091,7 @@ pub fn withdraw(
10911091 mint : & Pubkey ,
10921092 amount : u64 ,
10931093 decimals : u8 ,
1094- new_decryptable_available_balance : PodAeCiphertext ,
1094+ new_decryptable_available_balance : & DecryptableBalance ,
10951095 authority : & Pubkey ,
10961096 multisig_signers : & [ & Pubkey ] ,
10971097 equality_proof_data_location : ProofLocation < CiphertextCommitmentEqualityProofData > ,
@@ -1162,7 +1162,7 @@ pub fn inner_transfer(
11621162 source_token_account : & Pubkey ,
11631163 mint : & Pubkey ,
11641164 destination_token_account : & Pubkey ,
1165- new_source_decryptable_available_balance : DecryptableBalance ,
1165+ new_source_decryptable_available_balance : & DecryptableBalance ,
11661166 transfer_amount_auditor_ciphertext_lo : & PodElGamalCiphertext ,
11671167 transfer_amount_auditor_ciphertext_hi : & PodElGamalCiphertext ,
11681168 authority : & Pubkey ,
@@ -1244,7 +1244,7 @@ pub fn inner_transfer(
12441244 TokenInstruction :: ConfidentialTransferExtension ,
12451245 ConfidentialTransferInstruction :: Transfer ,
12461246 & TransferInstructionData {
1247- new_source_decryptable_available_balance,
1247+ new_source_decryptable_available_balance : * new_source_decryptable_available_balance ,
12481248 transfer_amount_auditor_ciphertext_lo : * transfer_amount_auditor_ciphertext_lo,
12491249 transfer_amount_auditor_ciphertext_hi : * transfer_amount_auditor_ciphertext_hi,
12501250 equality_proof_instruction_offset,
@@ -1261,7 +1261,7 @@ pub fn transfer(
12611261 source_token_account : & Pubkey ,
12621262 mint : & Pubkey ,
12631263 destination_token_account : & Pubkey ,
1264- new_source_decryptable_available_balance : DecryptableBalance ,
1264+ new_source_decryptable_available_balance : & DecryptableBalance ,
12651265 transfer_amount_auditor_ciphertext_lo : & PodElGamalCiphertext ,
12661266 transfer_amount_auditor_ciphertext_hi : & PodElGamalCiphertext ,
12671267 authority : & Pubkey ,
@@ -1359,7 +1359,7 @@ pub fn inner_apply_pending_balance(
13591359 token_program_id : & Pubkey ,
13601360 token_account : & Pubkey ,
13611361 expected_pending_balance_credit_counter : u64 ,
1362- new_decryptable_available_balance : DecryptableBalance ,
1362+ new_decryptable_available_balance : & DecryptableBalance ,
13631363 authority : & Pubkey ,
13641364 multisig_signers : & [ & Pubkey ] ,
13651365) -> Result < Instruction , ProgramError > {
@@ -1380,7 +1380,7 @@ pub fn inner_apply_pending_balance(
13801380 ConfidentialTransferInstruction :: ApplyPendingBalance ,
13811381 & ApplyPendingBalanceData {
13821382 expected_pending_balance_credit_counter : expected_pending_balance_credit_counter. into ( ) ,
1383- new_decryptable_available_balance,
1383+ new_decryptable_available_balance : * new_decryptable_available_balance ,
13841384 } ,
13851385 ) )
13861386}
@@ -1390,7 +1390,7 @@ pub fn apply_pending_balance(
13901390 token_program_id : & Pubkey ,
13911391 token_account : & Pubkey ,
13921392 pending_balance_instructions : u64 ,
1393- new_decryptable_available_balance : PodAeCiphertext ,
1393+ new_decryptable_available_balance : & DecryptableBalance ,
13941394 authority : & Pubkey ,
13951395 multisig_signers : & [ & Pubkey ] ,
13961396) -> Result < Instruction , ProgramError > {
@@ -1503,7 +1503,7 @@ pub fn inner_transfer_with_fee(
15031503 source_token_account : & Pubkey ,
15041504 mint : & Pubkey ,
15051505 destination_token_account : & Pubkey ,
1506- new_source_decryptable_available_balance : DecryptableBalance ,
1506+ new_source_decryptable_available_balance : & DecryptableBalance ,
15071507 transfer_amount_auditor_ciphertext_lo : & PodElGamalCiphertext ,
15081508 transfer_amount_auditor_ciphertext_hi : & PodElGamalCiphertext ,
15091509 authority : & Pubkey ,
@@ -1618,7 +1618,7 @@ pub fn inner_transfer_with_fee(
16181618 TokenInstruction :: ConfidentialTransferExtension ,
16191619 ConfidentialTransferInstruction :: TransferWithFee ,
16201620 & TransferWithFeeInstructionData {
1621- new_source_decryptable_available_balance,
1621+ new_source_decryptable_available_balance : * new_source_decryptable_available_balance ,
16221622 transfer_amount_auditor_ciphertext_lo : * transfer_amount_auditor_ciphertext_lo,
16231623 transfer_amount_auditor_ciphertext_hi : * transfer_amount_auditor_ciphertext_hi,
16241624 equality_proof_instruction_offset,
@@ -1637,7 +1637,7 @@ pub fn transfer_with_fee(
16371637 source_token_account : & Pubkey ,
16381638 mint : & Pubkey ,
16391639 destination_token_account : & Pubkey ,
1640- new_source_decryptable_available_balance : DecryptableBalance ,
1640+ new_source_decryptable_available_balance : & DecryptableBalance ,
16411641 transfer_amount_auditor_ciphertext_lo : & PodElGamalCiphertext ,
16421642 transfer_amount_auditor_ciphertext_hi : & PodElGamalCiphertext ,
16431643 authority : & Pubkey ,
0 commit comments