Update orchard_sinsemilla.py
Co-authored-by: str4d <jack@z.cash>
This commit is contained in:
parent
4e70886918
commit
d9750457b9
|
@ -66,7 +66,7 @@ def hash_to_field(msg, dst):
|
||||||
L = cldiv(math.ceil(math.log2(p)) + k, 8)
|
L = cldiv(math.ceil(math.log2(p)) + k, 8)
|
||||||
assert L == 512/8
|
assert L == 512/8
|
||||||
|
|
||||||
len_in_bytes = count * 1 * L
|
len_in_bytes = count * m * L
|
||||||
uniform_bytes = expand_message_xmd(msg, dst, len_in_bytes)
|
uniform_bytes = expand_message_xmd(msg, dst, len_in_bytes)
|
||||||
|
|
||||||
elements = []
|
elements = []
|
||||||
|
|
Loading…
Reference in New Issue