Update orchard_sinsemilla.py
Co-authored-by: str4d <jack@z.cash>
This commit is contained in:
parent
a5579bab84
commit
75ce7b22be
|
@ -33,7 +33,7 @@ def expand_message_xmd(msg, dst, len_in_bytes):
|
||||||
|
|
||||||
b = []
|
b = []
|
||||||
|
|
||||||
b0_ctx = blake2b(digest_size=64, person=i2beosp(128,0))
|
b0_ctx = blake2b(digest_size=b_in_bytes, person=i2beosp(128,0))
|
||||||
b0_ctx.update(msg_prime)
|
b0_ctx.update(msg_prime)
|
||||||
b.append(b0_ctx.digest())
|
b.append(b0_ctx.digest())
|
||||||
assert len(b[0]) == b_in_bytes
|
assert len(b[0]) == b_in_bytes
|
||||||
|
|
Loading…
Reference in New Issue