Skip to content

Commit

Permalink
Update BN254.hs
Browse files Browse the repository at this point in the history
  • Loading branch information
echatav committed Jan 13, 2025
1 parent ff07c6c commit f562bd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ instance Field field => WeierstrassCurve "BN254_G1" field where

instance CyclicGroup BN254_G1_Point where
type ScalarFieldOf BN254_G1_Point = Fr
pointGen = pointXY one (fromConstant (2 :: Natural))
pointGen = pointXY 1 2

instance Scale Fr BN254_G1_Point where
scale n x = scale (toConstant n) x
Expand Down

0 comments on commit f562bd9

Please sign in to comment.