Skip to content

Commit

Permalink
Fix minor issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xevisalle committed Mar 7, 2022
1 parent 49d801a commit c870fe2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/proof_system/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ impl Prover {

/// Adds the blinding scalars to a given vector. Always the same elements
/// of 'w_vec' are modified at the beginning of it, and appended at the end:
/// if hiding degree = 1: (b2*X(n+1) + b1*X^n - b2*X - b1) + w_vec
/// if hiding degree = 2: (b3*X^(n+2) + b2*X(n+1) + b1*X^n - b3*X^2 - b2*X
/// if hiding degree = 1: (b2*X^(n+1) + b1*X^n - b2*X - b1) + w_vec
/// if hiding degree = 2: (b3*X^(n+2) + b2*X^(n+1) + b1*X^n - b3*X^2 - b2*X
/// - b1) + w_vec
pub(crate) fn blind_poly<R: RngCore + CryptoRng>(
w_vec: &Vec<BlsScalar>,
Expand Down

0 comments on commit c870fe2

Please sign in to comment.