mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-02 07:40:13 +00:00
Add attester to beacon chain test harness
This commit is contained in:
@@ -25,7 +25,11 @@ impl TestSigner {
|
||||
}
|
||||
|
||||
impl Signer for TestSigner {
|
||||
fn bls_sign(&self, message: &[u8]) -> Option<Signature> {
|
||||
fn sign_block_proposal(&self, message: &[u8]) -> Option<Signature> {
|
||||
Some(Signature::new(message, &self.keypair.sk))
|
||||
}
|
||||
|
||||
fn sign_randao_reveal(&self, message: &[u8]) -> Option<Signature> {
|
||||
Some(Signature::new(message, &self.keypair.sk))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user