You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In multiple instances, dictionary are accessed directly, which leads to panics if the key is not present. See report for more details.
Also, in aggregate(), we should make sure that the 3 arguments have matching sets of identifiers.
Fix those:
It's probably better to avoid indexing directly altogether and use .get() instead, handling the error. Try enabling the indexing_slicing lint (possibly with an exception in test code)
Add a validation in aggregate() to make sue the identifier sets are consistent (signing_package.signing_commitments and signature_shares should have equal keys, and they should be a subset of pubkeys.signer_pubkeys)
The text was updated successfully, but these errors were encountered:
In multiple instances, dictionary are accessed directly, which leads to panics if the key is not present. See report for more details.
Also, in
aggregate()
, we should make sure that the 3 arguments have matching sets of identifiers.Fix those:
.get()
instead, handling the error. Try enabling theindexing_slicing
lint (possibly with an exception in test code)aggregate()
to make sue the identifier sets are consistent (signing_package.signing_commitments
andsignature_shares
should have equal keys, and they should be a subset ofpubkeys.signer_pubkeys
)The text was updated successfully, but these errors were encountered: