Rename `aggregate_na_pubkeys` to `aggregate_na_signatures` and add comments

This commit is contained in:
Hsiao-Wei Wang 2020-07-21 21:10:27 +08:00
parent 6a7a47dd5f
commit 302607eac5
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 3 additions and 1 deletions

View File

@ -149,7 +149,9 @@ def case03_aggregate():
else:
raise Exception("Should have been INVALID")
yield f'aggregate_na_pubkeys', {
# No signatures to aggregate. Follow IETF BLS spec, return `None` to represent INVALID.
# https://tools.ietf.org/html/draft-irtf-cfrg-bls-signature-02#section-2.8
yield f'aggregate_na_signatures', {
'input': [],
'output': None,
}