diff --git a/python/chilldkg_ref/simplpedpop.py b/python/chilldkg_ref/simplpedpop.py index e760a86..a2106b2 100644 --- a/python/chilldkg_ref/simplpedpop.py +++ b/python/chilldkg_ref/simplpedpop.py @@ -219,7 +219,10 @@ def participant_step2( threshold_pubkey = sum_coms_tweaked.commitment_to_secret() pubshares = [ - sum_coms_tweaked.pubshare(i) if i != idx else pubshare_tweaked for i in range(n) + sum_coms_tweaked.pubshare(i) + if i != idx + else pubshare_tweaked # We have computed our own pubshare already. + for i in range(n) ] dkg_output = DKGOutput( secshare_tweaked.to_bytes(),