Skip to content

Commit

Permalink
Merge branch 'main' of github.com:zkp-gravity/0g
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Wilson committed Apr 1, 2023
2 parents 43d9e75 + 476d320 commit 029f2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate_aleo_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def main(xs):
bloom_filter_value_bits=hash_functions_per_bloom_filter*discriminators

assert n_hash_bits == 21
p = 2 ** n_hash_bits - 1
p = 2 ** n_hash_bits - 9

hash_values = [(x * x * x) % p for x in xs]
quotients = [(x * x * x) // p for x in xs]
Expand Down

0 comments on commit 029f2cf

Please sign in to comment.