Skip to content

Commit

Permalink
Merge pull request #11 from mratsim/patch-1
Browse files Browse the repository at this point in the history
fix precedence in multiproof.py
  • Loading branch information
kevaundray authored Aug 15, 2024
2 parents 2332ab8 + d8a393a commit 483f40c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiproof/multiproof.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def check_multiproof(self, transcript: Transcript, queries: List[VerifierQuery],
z = query.z.value
y = query.y
# TODO: clean this up, its not very readable
E_coefficient = power_of_r / t - self.precomp.domain[z]
E_coefficient = power_of_r / (t - self.precomp.domain[z])
C_serialized = bytes(C.to_bytes())
C_by_serialized[C_serialized] = C
E_coefficients[C_serialized] = E_coefficient if C_serialized not in E_coefficients \
Expand Down

0 comments on commit 483f40c

Please sign in to comment.