mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-04 13:24:39 +00:00
Fix error in agg sig newtype
This commit is contained in:
@@ -24,7 +24,7 @@ impl AggregateSignature {
|
|||||||
///
|
///
|
||||||
/// Only returns `true` if the set of keys in the `AggregatePublicKey` match the set of keys
|
/// Only returns `true` if the set of keys in the `AggregatePublicKey` match the set of keys
|
||||||
/// that signed the `AggregateSignature`.
|
/// 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)
|
self.0.verify(msg, avk)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user