Fix error in agg sig newtype

This commit is contained in:
Paul Hauner 2018-12-18 17:55:21 +11:00
parent 92ed2ffc22
commit 7f00f167e3
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C

View File

@ -24,7 +24,7 @@ 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(&mut self, msg: &[u8], avk: &AggregatePublicKey) -> bool {
pub fn verify(&self, msg: &[u8], avk: &AggregatePublicKey) -> bool {
self.0.verify(msg, avk)
}
}