diff --git a/k256/src/arithmetic/scalar.rs b/k256/src/arithmetic/scalar.rs index 1c92f81bf..22483a524 100644 --- a/k256/src/arithmetic/scalar.rs +++ b/k256/src/arithmetic/scalar.rs @@ -755,7 +755,7 @@ impl Retrieve for Scalar { type Output = U256; fn retrieve(&self) -> U256 { - U256::from_be_byte_array(self.to_bytes()) + self.0 } }