mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2025-03-28 02:31:59 +01:00
dont backup wallets outside of wallets folder
This commit is contained in:
parent
8f4cf9f2a0
commit
8bc8bdb2f2
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user