Skip to content

Commit

Permalink
Update halo2_proofs/src/plonk/prover.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Han <[email protected]>
  • Loading branch information
alexander-camuto and han0110 authored Oct 31, 2023
1 parent bf9f53c commit 51b8f71
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions halo2_proofs/src/plonk/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,10 @@ where
}

// Compute commitments to advice column polynomials
let blinds: Vec<_> = (0..meta.num_advice_columns)
let blinds: Vec<_> = column_indices
.iter()
.map(|i| {
if witness.unblinded_advice.contains(&i) {
if witness.unblinded_advice.contains(i) {
Blind::default()
} else {
Blind(Scheme::Scalar::random(&mut rng))
Expand Down

0 comments on commit 51b8f71

Please sign in to comment.