diff --git a/python/chilldkg_ref/encpedpop.py b/python/chilldkg_ref/encpedpop.py index 5b7a3c0..494afa3 100644 --- a/python/chilldkg_ref/encpedpop.py +++ b/python/chilldkg_ref/encpedpop.py @@ -27,7 +27,7 @@ def ecdh( data += my_pubkey + their_pubkey else: data += their_pubkey + my_pubkey - assert len(data) == 2 * 33 + 32 + assert len(data) == 32 + 2 * 33 data += context return Scalar(int_from_bytes(tagged_hash_bip_dkg("encpedpop ecdh", data)))