Fix error in agg sig newtype
This commit is contained in:
parent
92ed2ffc22
commit
7f00f167e3
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user