Browse Source

Correct a comment in rangeproof.rs

Ian Goldberg 3 months ago
parent
commit
fd27fc0757
1 changed files with 3 additions and 3 deletions
  1. 3 3
      sigma_compiler_core/src/rangeproof.rs

+ 3 - 3
sigma_compiler_core/src/rangeproof.rs

@@ -312,9 +312,9 @@ pub fn transform(
         // ped_assign.pedersen.rand_term.coeff) as the randomness.  But
         // what we need is a Pedersen commitment for a possibly
         // different linear function of range_id (given by
-        // range_stmt.linscalar).  So we output runtime code for both
-        // the prover and the verifier that converts the commitment, and
-        // code for just the prover that converts the randomness.
+        // range_stmt.linscalar).  So we output runtime code for the
+        // verifier that converts the commitment, and code for the
+        // prover that converts the randomness.
 
         // Make a new runtime variable to hold the converted commitment
         let commitment_var =