소스 검색

Correct a comment in rangeproof.rs

Ian Goldberg 7 달 전
부모
커밋
fd27fc0757
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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 =