mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-23 03:59:36 +00:00
fix refusal to delete wallet backup
This commit is contained in:
parent
8174ba34d9
commit
5c1cfdcff9
1 changed files with 1 additions and 0 deletions
|
@ -848,6 +848,7 @@ public abstract class Trade implements Tradable, Model {
|
|||
// delete trade wallet backups unless deposits requested and payouts not unlocked
|
||||
if (isDepositRequested() && !isDepositFailed() && !isPayoutUnlocked()) {
|
||||
log.warn("Refusing to delete backup wallet for " + getClass().getSimpleName() + " " + getId() + " in the small chance it becomes funded");
|
||||
return;
|
||||
}
|
||||
xmrWalletService.deleteWalletBackups(getWalletName());
|
||||
} catch (Exception e) {
|
||||
|
|
Loading…
Reference in a new issue