Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 5d4b8c3

Browse files
Apply suggestions from code review
Co-authored-by: Jon C <[email protected]>
1 parent 70b7240 commit 5d4b8c3

File tree

2 files changed

+2
-2
lines changed
  • token/confidential-transfer

2 files changed

+2
-2
lines changed

token/confidential-transfer/proof-extraction/src/mint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl MintProofContext {
3030
) -> Result<Self, TokenProofExtractionError> {
3131
// The ciphertext validity proof context consists of the destination ElGamal
3232
// public key, the auditor ElGamal public key, and the grouped ElGamal
33-
// ciphertexts for the low and high bits of the burn amount. These
33+
// ciphertexts for the low and high bits of the mint amount. These
3434
// fields should be returned as part of `MintProofContext`.
3535
let BatchedGroupedCiphertext3HandlesValidityProofContext {
3636
first_pubkey: destination_elgamal_pubkey,

token/confidential-transfer/proof-generation/src/burn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub fn burn_split_proof_data(
6262
.decrypt(aes_key)
6363
.ok_or(TokenProofGenerationError::IllegalAmountBitLength)?;
6464

65-
// copmute the remaining balance ciphertext
65+
// compute the remaining balance ciphertext
6666
let burn_amount_ciphertext_source_lo = burn_amount_ciphertext_lo
6767
.0
6868
.to_elgamal_ciphertext(0)

0 commit comments

Comments
 (0)