mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 21:34:46 +00:00
Begin working on bls test
This commit is contained in:
@@ -25,4 +25,12 @@ impl FakeAggregatePublicKey {
|
||||
pub fn add(&mut self, _public_key: &PublicKey) {
|
||||
// No nothing.
|
||||
}
|
||||
|
||||
pub fn as_raw(&self) -> &FakeAggregatePublicKey {
|
||||
&self
|
||||
}
|
||||
|
||||
pub fn as_bytes(&self) -> Vec<u8> {
|
||||
self.bytes.clone()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ mod secret_key;
|
||||
|
||||
pub use crate::keypair::Keypair;
|
||||
pub use crate::secret_key::SecretKey;
|
||||
pub use bls_aggregates::{compress_g2, hash_on_g2};
|
||||
|
||||
#[cfg(feature = "fake_crypto")]
|
||||
mod fake_aggregate_public_key;
|
||||
|
||||
Reference in New Issue
Block a user