Skip to content

Commit

Permalink
Run rust fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
orhoj committed Dec 19, 2023
1 parent 6b1e4c0 commit 333ccb7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/rust-bindings/packages/wallet/src/external_functions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ use concordium_rust_bindings_common::{
types::{Base58String, HexString, JsonString},
};
use wallet_library::{
credential::{create_unsigned_credential_with_keys_v1_aux, create_unsigned_credential_with_seed_v1_aux},
credential::{
create_unsigned_credential_with_keys_v1_aux, create_unsigned_credential_with_seed_v1_aux,
},
identity::{
create_id_request_with_keys_v1_aux, create_id_request_with_seed_v1_aux,
create_identity_recovery_request_with_keys_aux, create_identity_recovery_request_with_seed_aux,
create_identity_recovery_request_with_keys_aux,
create_identity_recovery_request_with_seed_aux,
},
wallet::{
get_account_public_key_aux, get_account_signing_key_aux,
Expand Down Expand Up @@ -72,7 +75,8 @@ pub fn create_identity_recovery_request_ext(input: JsonString) -> JsResult {

#[wasm_bindgen(js_name = createIdentityRecoveryRequestWithKeys)]
pub fn create_identity_recovery_request_with_keys_ext(input: JsonString) -> JsResult {
create_identity_recovery_request_with_keys_aux(serde_json::from_str(&input).unwrap()).map_err(to_js_error)
create_identity_recovery_request_with_keys_aux(serde_json::from_str(&input).unwrap())
.map_err(to_js_error)
}

#[wasm_bindgen(js_name = createCredentialV1)]
Expand Down

0 comments on commit 333ccb7

Please sign in to comment.