Skip to content

Commit

Permalink
Update crates/threshold-signature-server/src/attestation/api.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Hernando Castano <[email protected]>
  • Loading branch information
ameba23 and HCastano authored Aug 21, 2024
1 parent 0abb8be commit cdd22b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/threshold-signature-server/src/attestation/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pub async fn attest(
input: Bytes,
) -> Result<StatusCode, AttestationErr> {
let (signer, x25519_secret) = get_signer_and_x25519_secret(&app_state.kv_store).await?;
let attestaion_requests = OcwMessageAttestationRequest::decode(&mut input.as_ref())?;
let attestation_requests = OcwMessageAttestationRequest::decode(&mut input.as_ref())?;

// Check whether there is an attestion request for us
if !attestaion_requests.tss_account_ids.contains(&signer.signer().public().0) {
Expand Down

0 comments on commit cdd22b4

Please sign in to comment.