Browse Source

Fix comment typo (#192)

main
JunheeLee 1 year ago
committed by GitHub
parent
commit
ba06404736
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/spartan/mod.rs
  2. +1
    -1
      src/spartan/sumcheck.rs

+ 1
- 1
src/spartan/mod.rs

@ -357,7 +357,7 @@ impl> RelaxedR1CSSNARKTrait
));
// We will now reduce a vector of claims of evaluations at different points into claims about them at the same point.
// For example, eval_W =? W(r_y[1..]) and eval_W =? E(r_x) into
// For example, eval_W =? W(r_y[1..]) and eval_E =? E(r_x) into
// two claims: eval_W_prime =? W(rz) and eval_E_prime =? E(rz)
// We can them combine the two into one: eval_W_prime + gamma * eval_E_prime =? (W + gamma*E)(rz),
// where gamma is a public challenge

+ 1
- 1
src/spartan/sumcheck.rs

@ -43,7 +43,7 @@ impl SumcheckProof {
}
// we do not need to check if poly(0) + poly(1) = e, as
// decompress() call above already ensures that hods
// decompress() call above already ensures that holds
debug_assert_eq!(poly.eval_at_zero() + poly.eval_at_one(), e);
// append the prover's message to the transcript

Loading…
Cancel
Save