diff --git a/src-tauri/src/commands/wallets.rs b/src-tauri/src/commands/wallets.rs index 2088c9e1..e8f5b61f 100644 --- a/src-tauri/src/commands/wallets.rs +++ b/src-tauri/src/commands/wallets.rs @@ -266,7 +266,7 @@ async fn test_fetch_originating() { } #[tauri::command(async)] -pub async fn set_slow_wallet(legacy: bool,) -> Result<(), CarpeError> { +pub async fn set_slow_wallet(legacy: bool) -> Result<(), CarpeError> { // NOTE: unsure Serde was catching all cases check serialization let mut config = get_cfg()?; inject_private_key_to_cfg(&mut config)?; @@ -320,9 +320,7 @@ fn add_legacy_accounts(authkey: AuthenticationKey) -> Result Result<(), CarpeError> { @@ -361,10 +359,8 @@ pub fn remove_legacy_accounts() -> Result { } } } - Err(CarpeError::misc( - &format!( - "No legacy accounts to remove. No account file found at {:?}", - &db_path - ), - )) + Err(CarpeError::misc(&format!( + "No legacy accounts to remove. No account file found at {:?}", + &db_path + ))) }