fix BE to LE
This commit is contained in:
parent
47948ef8a5
commit
b75da3d8dc
@ -775,8 +775,8 @@ pub mod g1 {
|
||||
|
||||
{
|
||||
let mut reader = ©[..];
|
||||
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 = ©[..];
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user