Skip to content

Commit

Permalink
do not sync trade wallet on deletion if deposit not requested
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed Feb 25, 2024
1 parent be90b31 commit fa699c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/haveno/core/trade/Trade.java
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ public void deleteWallet() {
}

// wallet must be synced
if (!isSyncedWithinTolerance()) {
if (isDepositRequested() && !isSyncedWithinTolerance()) {
log.warn("Wallet is not synced for {} {}, syncing", getClass().getSimpleName(), getId());
syncWallet(true);
}
Expand Down

0 comments on commit fa699c9

Please sign in to comment.