diff --git a/halo2_proofs/src/plonk/prover.rs b/halo2_proofs/src/plonk/prover.rs index 719a7ab69b..d058317206 100644 --- a/halo2_proofs/src/plonk/prover.rs +++ b/halo2_proofs/src/plonk/prover.rs @@ -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; } } }