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
/// Try to convert a byte string into a `BatchPath`.
176
+
// todo: We should not panic if the size of the slice is invalid (I believe `bytes[offset + i * 8..offset + (i + 1) * 8]` will panic if bytes is not large enough.
/// Aggregate a set of signatures for their corresponding indices.
428
428
///
429
429
/// This function first deduplicates the repeated signatures, and if there are enough signatures, it collects the merkle tree indexes of unique signatures.
430
-
/// The list of merkle tree indexes is used to create a batch proof to be checked in verify aggregate.
430
+
/// The list of merkle tree indexes is used to create a batch proof, to prove that all signatures are from eligible signers.
431
431
///
432
432
/// It returns an instance of `StmAggrSig`.
433
433
pubfnaggregate(
@@ -622,14 +622,14 @@ impl StmSig {
622
622
let sigma = Signature::from_bytes(&bytes[offset + 96..offset + 144])?;
0 commit comments