Skip to content

Commit 8ae9b45

Browse files
[confidential-transfer] Fix bit-length comments (#713)
fix bit-length comment
1 parent 969ec97 commit 8ae9b45

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

confidential/proof-extraction/src/transfer_with_fee.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,11 @@ impl TransferWithFeeProofContext {
141141
// - the new source available balance (64 bits)
142142
// - the low bits of the transfer amount (16 bits)
143143
// - the high bits of the transfer amount (32 bits)
144-
// - the delta amount for the fee (48 bits)
145-
// - the complement of the delta amount for the fee (48 bits)
144+
// - the delta amount for the fee (16 bits)
145+
// - the complement of the delta amount for the fee (16 bits)
146146
// - the low bits of the fee amount (16 bits)
147147
// - the high bits of the fee amount (32 bits)
148+
// - the net transfer amount bit length (64 bits)
148149
let BatchedRangeProofContext {
149150
commitments: range_proof_commitments,
150151
bit_lengths: range_proof_bit_lengths,

0 commit comments

Comments
 (0)