Skip to content

Commit

Permalink
no trash for encrypted wallets
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-miroch committed Oct 6, 2019
1 parent 8d60f35 commit 83d611d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/advclient/common/Vaulter/Vaulter.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,9 @@ public void doVault(String password, int amount, CloudCoin cc) {
return;
}

logger.debug(ltag, "File has been successfully encrypted. Moving the original file to Trash");
AppCore.moveToFolder(tcc.originalFile, Config.DIR_TRASH, user);
logger.debug(ltag, "File has been successfully encrypted. Deleting the original file");
AppCore.deleteFile(tcc.originalFile);
//AppCore.moveToFolder(tcc.originalFile, Config.DIR_TRASH, user);
}

vr.status = VaulterResult.STATUS_FINISHED;
Expand Down

0 comments on commit 83d611d

Please sign in to comment.