BLS: fix description of AggregatePublicKey
This commit is contained in:
parent
8f4a2fbde1
commit
c2e5d3c45a
@ -1,7 +1,7 @@
|
|||||||
use super::PublicKey;
|
use super::PublicKey;
|
||||||
use bls_aggregates::AggregatePublicKey as RawAggregatePublicKey;
|
use bls_aggregates::AggregatePublicKey as RawAggregatePublicKey;
|
||||||
|
|
||||||
/// A single BLS signature.
|
/// A BLS aggregate public key.
|
||||||
///
|
///
|
||||||
/// This struct is a wrapper upon a base type and provides helper functions (e.g., SSZ
|
/// This struct is a wrapper upon a base type and provides helper functions (e.g., SSZ
|
||||||
/// serialization).
|
/// serialization).
|
||||||
@ -17,7 +17,7 @@ impl AggregatePublicKey {
|
|||||||
self.0.add(public_key.as_raw())
|
self.0.add(public_key.as_raw())
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the underlying signature.
|
/// Returns the underlying public key.
|
||||||
pub fn as_raw(&self) -> &RawAggregatePublicKey {
|
pub fn as_raw(&self) -> &RawAggregatePublicKey {
|
||||||
&self.0
|
&self.0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user