From 713851a3f3962fd21cf3475803ec003455eb4646 Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Date: Thu, 14 Mar 2024 14:55:19 +0100 Subject: [PATCH] Update da/common.py typo short -> sort Co-authored-by: gusto --- da/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/da/common.py b/da/common.py index 0a219ed..7e39852 100644 --- a/da/common.py +++ b/da/common.py @@ -56,7 +56,7 @@ class Certificate: row_commitments: List[Commitment] def verify(self, nodes_public_keys: List[BLSPublickey]) -> bool: - # we short them as the signers bitfield is sorted by the public keys as well + # we sort them as the signers bitfield is sorted by the public keys as well signers_keys = list(compress(sorted(nodes_public_keys), self.signers)) message = build_attestation_message(self.aggregated_column_commitment, self.row_commitments) return bls_pop.AggregateVerify(signers_keys, [message]*len(signers_keys), self.aggregated_signatures)