mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-24 12:46:45 +00:00
dont backup wallets outside of wallets folder
This commit is contained in:
parent
8f4cf9f2a0
commit
8bc8bdb2f2
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue