-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(levm): remove redundant parse of coordinates (#1731)
**Motivation** <!-- Why does this pull request exist? What are its goals? --> In this PR we refactor the parsing of the G1/G2 points to make it simpler. **Description** <!-- A clear and concise general description of the changes this PR introduces --> The function `parse_g1_point` and `parse_g2_point` get a slice of the bytes instead of the coordinates. Inside the function, the parse of the coordinates are made.
- Loading branch information
Showing
1 changed file
with
37 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters