Skip to content

Commit

Permalink
Make it pub(crate)
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite committed Oct 3, 2024
1 parent bdd3447 commit 2b6aec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noir_stdlib/src/embedded_curve_ops.nr
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl EmbeddedCurveScalar {

//Bytes to scalar: take the first (after the specified offset) 16 bytes of the input as the lo value, and the next 16 bytes as the hi value
#[field(bn254)]
fn from_bytes(bytes: [u8; 64], offset: u32) -> EmbeddedCurveScalar {
pub(crate) fn from_bytes(bytes: [u8; 64], offset: u32) -> EmbeddedCurveScalar {
let mut v = 1;
let mut lo = 0 as Field;
let mut hi = 0 as Field;
Expand Down

0 comments on commit 2b6aec2

Please sign in to comment.