diff --git a/bls12_381/src/fp.rs b/bls12_381/src/fp.rs index 28aa24bf8..02d1d7855 100644 --- a/bls12_381/src/fp.rs +++ b/bls12_381/src/fp.rs @@ -162,7 +162,7 @@ impl Fp { self.ct_eq(&Fp::zero()) } - /// Attempts to convert a little-endian byte representation of + /// Attempts to convert a big-endian byte representation of /// a scalar into an `Fp`, failing if the input is not canonical. pub fn from_bytes(bytes: &[u8; 48]) -> CtOption { let mut tmp = Fp([0, 0, 0, 0, 0, 0]);