From 57c28945221033813414f0531ef655c173b51098 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Tue, 6 Apr 2021 22:51:29 +0100 Subject: [PATCH] Update orchard_pallas.py Replace 0 with Fp.ZERO in `extract`. Co-authored-by: Taylor Hornby --- orchard_pallas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchard_pallas.py b/orchard_pallas.py index e9022ed..109fa1b 100644 --- a/orchard_pallas.py +++ b/orchard_pallas.py @@ -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):