Skip to content

Commit

Permalink
don't check deserialized g2 point
Browse files Browse the repository at this point in the history
  • Loading branch information
chancehudson committed Apr 20, 2024
1 parent 91cd9ba commit 21c6d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zkey.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ fn deserialize_g2<R: Read>(reader: &mut R) -> IoResult<G2Affine> {
if infinity {
Ok(G2Affine::identity())
} else {
Ok(G2Affine::new(f1, f2))
Ok(G2Affine::new_unchecked(f1, f2))
}
}

Expand Down

0 comments on commit 21c6d43

Please sign in to comment.