Fix missing divide-by-Z

Co-authored-by: str4d <jack@z.cash>
This commit is contained in:
Taylor Hornby 2021-04-22 14:31:55 -06:00 committed by GitHub
parent d9750457b9
commit e141b76203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ def map_to_curve_simple_swu(u):
B = PALLAS_ISO_B
Z = Fp(-13, False)
c1 = -B / A
c2 = Fp(-1)
c2 = Fp(-1) / Z
tv1 = Z * u.exp(2)
tv2 = tv1.exp(2)