mirror of
https://github.com/retoaccess1/haveno-reto.git
synced 2024-12-11 20:33:32 +01:00
fix refusal to delete wallet backup
This commit is contained in:
parent
8174ba34d9
commit
5c1cfdcff9
@ -848,6 +848,7 @@ public abstract class Trade implements Tradable, Model {
|
|||||||
// delete trade wallet backups unless deposits requested and payouts not unlocked
|
// delete trade wallet backups unless deposits requested and payouts not unlocked
|
||||||
if (isDepositRequested() && !isDepositFailed() && !isPayoutUnlocked()) {
|
if (isDepositRequested() && !isDepositFailed() && !isPayoutUnlocked()) {
|
||||||
log.warn("Refusing to delete backup wallet for " + getClass().getSimpleName() + " " + getId() + " in the small chance it becomes funded");
|
log.warn("Refusing to delete backup wallet for " + getClass().getSimpleName() + " " + getId() + " in the small chance it becomes funded");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
xmrWalletService.deleteWalletBackups(getWalletName());
|
xmrWalletService.deleteWalletBackups(getWalletName());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user