mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-23 04:29:22 +00:00
do not sync trade wallet on deletion if deposit not requested
This commit is contained in:
parent
be90b317f2
commit
2c0275e336
1 changed files with 1 additions and 1 deletions
|
@ -949,7 +949,7 @@ public abstract class Trade implements Tradable, Model {
|
||||||
}
|
}
|
||||||
|
|
||||||
// wallet must be synced
|
// wallet must be synced
|
||||||
if (!isSyncedWithinTolerance()) {
|
if (isDepositRequested() && !isSyncedWithinTolerance()) {
|
||||||
log.warn("Wallet is not synced for {} {}, syncing", getClass().getSimpleName(), getId());
|
log.warn("Wallet is not synced for {} {}, syncing", getClass().getSimpleName(), getId());
|
||||||
syncWallet(true);
|
syncWallet(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue