mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-10 08:37:05 +00:00
dont backup wallets outside of wallets folder
This commit is contained in:
@@ -219,7 +219,9 @@ public class Storage {
|
||||
}
|
||||
|
||||
public void backupWallet() throws IOException {
|
||||
backupWallet(null);
|
||||
if(walletFile.toPath().startsWith(getWalletsDir().toPath())) {
|
||||
backupWallet(null);
|
||||
}
|
||||
}
|
||||
|
||||
public void backupTempWallet() {
|
||||
|
||||
Reference in New Issue
Block a user