Skip to content

Commit

Permalink
chore: prevent from clearing wallet data after restart
Browse files Browse the repository at this point in the history
  • Loading branch information
mmrrnn committed Jan 9, 2025
1 parent a822b07 commit b3bf9fb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src-tauri/src/wallet_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,6 @@ impl ProcessAdapter for WalletAdapter {
warn!(target: LOG_TARGET, "Could not clear peer data folder: {}", e);
}

// Delete any old wallets on startup
if let Err(e) = std::fs::remove_dir_all(&wallet_data_folder) {
warn!(target: LOG_TARGET, "Could not clear wallet data folder: {}", e);
}

#[cfg(target_os = "windows")]
add_firewall_rule(
Expand Down

0 comments on commit b3bf9fb

Please sign in to comment.