mirror of https://github.com/zcash/pasta.git
squareroottab.sage: remove unused instance variables.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
223b60825c
commit
25dd9f0ed9
|
@ -54,10 +54,8 @@ class SqrtField:
|
|||
|
||||
gtab[3] = gtab[3][:128]
|
||||
|
||||
minus1 = Mod(-1, p)
|
||||
|
||||
(self.p, self.n, self.m, self.g, self.gtab, self.invtab, self.minus1, self.base_cost) = (
|
||||
p, n, m, g, gtab, invtab, minus1, base_cost)
|
||||
(self.p, self.n, self.m, self.gtab, self.invtab, self.base_cost) = (
|
||||
p, n, m, gtab, invtab, base_cost)
|
||||
|
||||
def hash(self, x):
|
||||
return (int(x) % (1 << self.hash_bits)) % self.hash_mod
|
||||
|
|
Loading…
Reference in New Issue