From cdd22b48f50974d7e3da877b66768281346f1447 Mon Sep 17 00:00:00 2001 From: peg Date: Wed, 21 Aug 2024 08:45:11 +0200 Subject: [PATCH] Update crates/threshold-signature-server/src/attestation/api.rs Co-authored-by: Hernando Castano --- crates/threshold-signature-server/src/attestation/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/threshold-signature-server/src/attestation/api.rs b/crates/threshold-signature-server/src/attestation/api.rs index 81bce6038..2779c6df2 100644 --- a/crates/threshold-signature-server/src/attestation/api.rs +++ b/crates/threshold-signature-server/src/attestation/api.rs @@ -37,7 +37,7 @@ pub async fn attest( input: Bytes, ) -> Result { 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) {