Add comment about zero elements in batch verification (#3367)

This commit is contained in:
Justin Traglia
2023-05-17 11:24:48 -05:00
committed by GitHub
parent fe9c1a8cbf
commit 32358e8fad

View File

@@ -566,7 +566,7 @@ def verify_blob_kzg_proof_batch(blobs: Sequence[Blob],
proofs_bytes: Sequence[Bytes48]) -> bool:
"""
Given a list of blobs and blob KZG proofs, verify that they correspond to the provided commitments.
Will return True if there are zero blobs/commitments/proofs.
Public method.
"""