Skip to content

Commit

Permalink
fix: patch blind
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-camuto committed Jan 23, 2024
1 parent cd34537 commit 6a2b9ad
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions halo2_proofs/src/plonk/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,8 @@ where
*cell = Scheme::Scalar::random(&mut rng);
}
} else {
#[cfg(feature = "sanity-checks")]
for cell in &advice_values[unusable_rows_start..] {
assert_eq!(*cell, Scheme::Scalar::ZERO);
for cell in &mut advice_values[unusable_rows_start..] {
*cell = Blind::default().0;
}
}
}
Expand Down

0 comments on commit 6a2b9ad

Please sign in to comment.