This commit is contained in:
thesimplekid
2023-09-24 11:12:37 +01:00
parent 9d4fcb55de
commit a11bf599ff
2 changed files with 3 additions and 3 deletions

View File

@@ -35,5 +35,5 @@ impl JsBlindedMessages {
})
}
// TODO: Gettters
// TODO: Getters
}

View File

@@ -109,8 +109,8 @@ impl JsKeyResponse {
/// From Hex
#[wasm_bindgen(constructor)]
pub fn new(keysets: String) -> Result<JsKeyResponse> {
let reponse = serde_json::from_str(&keysets).map_err(into_err)?;
Ok(Self { inner: reponse })
let response = serde_json::from_str(&keysets).map_err(into_err)?;
Ok(Self { inner: response })
}
/// Get Keysets