Remove stray printlns

This commit is contained in:
Michael Vines 2022-01-05 15:37:33 -08:00
parent cd24ec2ef6
commit 005ca7759e
2 changed files with 0 additions and 10 deletions

View File

@ -207,7 +207,6 @@ impl RangeProof {
transcript, transcript,
); );
println!("{:?}", w);
RangeProof { RangeProof {
A, A,
S, S,
@ -292,9 +291,6 @@ impl RangeProof {
w * (self.t_x - a * b) + c * (delta(&bit_lengths, &y, &z) - self.t_x); w * (self.t_x - a * b) + c * (delta(&bit_lengths, &y, &z) - self.t_x);
let value_commitment_scalars = util::exp_iter(z).take(m).map(|z_exp| c * zz * z_exp); let value_commitment_scalars = util::exp_iter(z).take(m).map(|z_exp| c * zz * z_exp);
println!("here");
println!("{:?}", w);
let mega_check = RistrettoPoint::optional_multiscalar_mul( let mega_check = RistrettoPoint::optional_multiscalar_mul(
iter::once(Scalar::one()) iter::once(Scalar::one())
.chain(iter::once(x)) .chain(iter::once(x))
@ -321,13 +317,9 @@ impl RangeProof {
) )
.ok_or(RangeProofError::MultiscalarMul)?; .ok_or(RangeProofError::MultiscalarMul)?;
println!("here2");
println!("{:?}", mega_check.compress());
if mega_check.is_identity() { if mega_check.is_identity() {
Ok(()) Ok(())
} else { } else {
println!("here3");
Err(RangeProofError::AlgebraicRelation) Err(RangeProofError::AlgebraicRelation)
} }
} }

View File

@ -226,8 +226,6 @@ impl FeeProof {
let w = transcript.challenge_scalar(b"w"); let w = transcript.challenge_scalar(b"w");
let ww = w * w; let ww = w * w;
println!("{:?}", C_delta_real.compress());
let check = RistrettoPoint::vartime_multiscalar_mul( let check = RistrettoPoint::vartime_multiscalar_mul(
vec![ vec![
c_max, c_max,