Skip to content

Commit

Permalink
Update bindings/wasm/src/verification/wasm_method_data.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Abdulrahim Al Methiab <[email protected]>
  • Loading branch information
UMR1352 and abdulmth authored Mar 14, 2024
1 parent 55ba842 commit 84a5586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/wasm/src/verification/wasm_method_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl WasmMethodData {
Ok(Self(MethodData::PublicKeyJwk(key.0.clone())))
}

/// Creates a new {@link MethodData} variant in CAIP-10 format.
/// Creates a new custom {@link MethodData}.
#[wasm_bindgen(js_name = newCustom)]
pub fn new_custom(name: String, data: JsValue) -> Result<WasmMethodData> {
let data = data.into_serde::<serde_json::Value>().wasm_result()?;
Expand Down

0 comments on commit 84a5586

Please sign in to comment.