fn enclave_account(eid: sgx_enclave_id_t) -> AccountId32 {
    let tee_public = enclave_signing_key(eid).unwrap();
    trace!(
        "[+] Got ed25519 account of TEE = {}",
        tee_public.to_ss58check()
    );
    AccountId32::from(*tee_public.as_array_ref())
}
// get the public signing key of the TEE
get the public signing key of the TEE
get the public signing key of the TEE
fn enclave_account(eid: sgx_enclave_id_t) -> AccountId32 {
    let tee_public = enclave_signing_key(eid).unwrap();
    trace!(
        "[+] Got ed25519 account of TEE = {}",
        tee_public.to_ss58check()
    );
    AccountId32::from(*tee_public.as_array_ref())
}
fn enclave_account ( eid : sgx_enclave_id_t ) -> AccountId32 { let tee_public = enclave_signing_key ( eid ) . unwrap ( ) ; trace ! ( " " tee_public to_ss58check ( ) ) ; AccountId32 :: from ( * tee_public . as_array_ref ( ) ) }
get the public signing key of the TEE
get the public signing key of the TEE
eid
sgx_enclave_id_t
eid
sgx_enclave_id_t