Skip to content

Commit

Permalink
Remove previous temp fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
feltroidprime committed Oct 24, 2024
1 parent 1ed2a79 commit 7d70bd5
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ def drand_round_to_calldata(round_number: int) -> list[int]:
round = get_randomness(chain.hash, round_number)

########################################
# Temp fix before we figure out what the hell is wrong with G2 compress Deserialization sign.
check = (
G1G2Pair.pair(
[
Expand All @@ -39,11 +38,7 @@ def drand_round_to_calldata(round_number: int) -> list[int]:
== [1] + [0] * 11
)

if not check:
sig_pt = -round.signature_point
else:
sig_pt = round.signature_point

assert check == True
###################
mpc_builder = MPCheckCalldataBuilder(
curve_id=CurveID.BLS12_381,
Expand Down

0 comments on commit 7d70bd5

Please sign in to comment.