From 2c0275e336661bd4f2125a87aaf5cc87a8166efd Mon Sep 17 00:00:00 2001 From: woodser Date: Sun, 25 Feb 2024 11:08:58 -0500 Subject: [PATCH] do not sync trade wallet on deletion if deposit not requested --- core/src/main/java/haveno/core/trade/Trade.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/haveno/core/trade/Trade.java b/core/src/main/java/haveno/core/trade/Trade.java index 3e7cafb3af..374b62cd6e 100644 --- a/core/src/main/java/haveno/core/trade/Trade.java +++ b/core/src/main/java/haveno/core/trade/Trade.java @@ -949,7 +949,7 @@ public abstract class Trade implements Tradable, Model { } // wallet must be synced - if (!isSyncedWithinTolerance()) { + if (isDepositRequested() && !isSyncedWithinTolerance()) { log.warn("Wallet is not synced for {} {}, syncing", getClass().getSimpleName(), getId()); syncWallet(true); }