Skip to content

Commit

Permalink
make guardian fn public
Browse files Browse the repository at this point in the history
  • Loading branch information
lean-apple committed Mar 11, 2024
1 parent db20203 commit 0bf5561
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/enclave/guardian/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ fn verify_deposit_message(keygen_payload: &crate::enclave::types::BlsKeygenPaylo
Ok(())
}

fn verify_custody(
pub fn verify_custody(
keygen_payload: &crate::enclave::types::BlsKeygenPayload,
guardian_enclave_sk: &EthSecretKey,
) -> Result<blsttc::SecretKeyShare> {
Expand Down Expand Up @@ -251,7 +251,7 @@ pub fn sign_voluntary_exit_message(
})
}

fn sign_vem(
pub fn sign_vem(
sk_share: blsttc::SecretKey,
epoch: crate::eth2::eth_types::Epoch,
validator_index: crate::eth2::eth_types::ValidatorIndex,
Expand Down

0 comments on commit 0bf5561

Please sign in to comment.