We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40def3a commit 28b22bbCopy full SHA for 28b22bb
src/range_proof/mod.rs
@@ -287,7 +287,9 @@ impl RangeProof {
287
transcript.rangeproof_domain_sep(n as u64, m as u64);
288
289
for V in value_commitments.iter() {
290
- transcript.validate_and_append_point(b"V", V)?;
+ // Allow the commitments to be zero (0 value, 0 blinding)
291
+ // See https://github.com/dalek-cryptography/bulletproofs/pull/248#discussion_r255167177
292
+ transcript.append_point(b"V", V);
293
}
294
295
transcript.validate_and_append_point(b"A", &self.A)?;
0 commit comments