Skip to content

Commit

Permalink
Fix incorrect endian
Browse files Browse the repository at this point in the history
  • Loading branch information
winderica committed Oct 18, 2024
1 parent 7add907 commit 9ad522f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion folding-schemes/src/folding/circuits/decider/on_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ where
let cf_W_i_W_bits = cf_W_i
.W
.iter()
.map(|W_i| W_i.to_bits_be())
.map(|W_i| W_i.to_bits_le())
.collect::<Result<Vec<_>, _>>()?;
PedersenGadget::<C2, GC2>::commit(&H, &G, &cf_W_i_E_bits, &cf_W_i.rE.to_bits_le()?)?
.enforce_equal(&cf_U_i.cmE)?;
Expand Down

0 comments on commit 9ad522f

Please sign in to comment.