Update orchard_pallas.py
Replace 0 with Fp.ZERO in `extract`. Co-authored-by: Taylor Hornby <taylor@defuse.ca>
This commit is contained in:
parent
28370d5fe9
commit
57c2894522
|
@ -197,7 +197,7 @@ class Point(object):
|
|||
|
||||
def extract(self):
|
||||
if self.is_identity:
|
||||
return 0
|
||||
return Fp.ZERO
|
||||
return self.x
|
||||
|
||||
def __mul__(self, s):
|
||||
|
|
Loading…
Reference in New Issue