BLS: wrap AggregateSignature::add_aggregate
This commit is contained in:
parent
22a90a0224
commit
0bf8cb953e
@ -27,6 +27,11 @@ impl AggregateSignature {
|
||||
self.0.add(signature.as_raw())
|
||||
}
|
||||
|
||||
/// Add (aggregate) another `AggregateSignature`.
|
||||
pub fn add_aggregate(&mut self, agg_signature: &AggregateSignature) {
|
||||
self.0.add_aggregate(&agg_signature.0)
|
||||
}
|
||||
|
||||
/// Verify the `AggregateSignature` against an `AggregatePublicKey`.
|
||||
///
|
||||
/// Only returns `true` if the set of keys in the `AggregatePublicKey` match the set of keys
|
||||
|
Loading…
Reference in New Issue
Block a user