do not sync trade wallet on deletion if deposit not requested
This commit is contained in:
parent
be90b317f2
commit
2c0275e336
@ -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 New Issue
Block a user