mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-23 04:29:22 +00:00
log warning on refusal to delete backup wallet
This commit is contained in:
parent
1809e34aaa
commit
17d94f346c
1 changed files with 1 additions and 1 deletions
|
@ -831,7 +831,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() && !isPayoutUnlocked()) {
|
if (isDepositRequested() && !isPayoutUnlocked()) {
|
||||||
throw new RuntimeException("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");
|
||||||
}
|
}
|
||||||
xmrWalletService.deleteWalletBackups(getWalletName());
|
xmrWalletService.deleteWalletBackups(getWalletName());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in a new issue