Skip to content

Commit

Permalink
Update halo2_proofs/src/plonk.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Han <[email protected]>
  • Loading branch information
davidnevadoc and han0110 authored Jan 8, 2024
1 parent 2fadf61 commit 630e5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion halo2_proofs/src/plonk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ where
let k = &self.domain.k();
assert!(*k <= C::Scalar::S as u32);
// k value fits in 1 byte
writer.write_all(&[k.to_le_bytes()[0]])?;
writer.write_all(&[*k as u8])?;
writer.write_all(&[self.compress_selectors as u8])?;
writer.write_all(&(self.fixed_commitments.len() as u32).to_le_bytes())?;
for commitment in &self.fixed_commitments {
Expand Down

0 comments on commit 630e5a6

Please sign in to comment.