dont backup wallets outside of wallets folder
@@ -219,8 +219,10 @@ public class Storage {
}
public void backupWallet() throws IOException {
+ if(walletFile.toPath().startsWith(getWalletsDir().toPath())) {
backupWallet(null);
}
+ }
public void backupTempWallet() {
try {
