From 29ace66510a1c1d385031a6ab49af6c2b25c06e6 Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Wed, 18 Dec 2024 23:40:01 +0100 Subject: [PATCH] encpedpop: nit --- python/chilldkg_ref/encpedpop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))