fix BE to LE

This commit is contained in:
Alex Vlasov 2019-06-02 16:55:34 +03:00
parent 47948ef8a5
commit b75da3d8dc
2 changed files with 4 additions and 4 deletions

@ -775,8 +775,8 @@ pub mod g1 {
{
let mut reader = &copy[..];
x.read_be(&mut reader).unwrap();
y.read_be(&mut reader).unwrap();
x.read_le(&mut reader).unwrap();
y.read_le(&mut reader).unwrap();
}
Ok(G1Affine {

@ -669,8 +669,8 @@ pub mod g1 {
{
let mut reader = &copy[..];
x.read_be(&mut reader).unwrap();
y.read_be(&mut reader).unwrap();
x.read_le(&mut reader).unwrap();
y.read_le(&mut reader).unwrap();
}
Ok(G1Affine {