Update to signature-scheme 0.5.2

This commit is contained in:
Kirk Baird
2019-02-18 10:50:40 +11:00
parent 977f3edfb6
commit 9c4a1f1d1f
12 changed files with 67 additions and 38 deletions

View File

@@ -27,7 +27,12 @@ impl AggregateSignature {
///
/// Only returns `true` if the set of keys in the `AggregatePublicKey` match the set of keys
/// that signed the `AggregateSignature`.
pub fn verify(&self, msg: &[u8], domain: u64, aggregate_public_key: &AggregatePublicKey) -> bool {
pub fn verify(
&self,
msg: &[u8],
domain: u64,
aggregate_public_key: &AggregatePublicKey,
) -> bool {
self.0.verify(msg, domain, aggregate_public_key)
}
}