From ee35e34eaa455a92694ffe381145ef81a9f643b2 Mon Sep 17 00:00:00 2001 From: woodser <13068859+woodser@users.noreply.github.com> Date: Mon, 6 Oct 2025 16:33:09 -0400 Subject: [PATCH] disable repeat sync to latest target height after first sync --- core/src/main/java/haveno/core/xmr/wallet/XmrWalletService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/haveno/core/xmr/wallet/XmrWalletService.java b/core/src/main/java/haveno/core/xmr/wallet/XmrWalletService.java index 4b66aab46e..279b3f8f9a 100644 --- a/core/src/main/java/haveno/core/xmr/wallet/XmrWalletService.java +++ b/core/src/main/java/haveno/core/xmr/wallet/XmrWalletService.java @@ -1466,7 +1466,7 @@ public class XmrWalletService extends XmrWalletBase { long time = System.currentTimeMillis(); MoneroRpcConnection sourceConnection = xmrConnectionService.getConnection(); try { - syncWithProgress(true); // repeat sync to latest target height + syncWithProgress(!wasWalletSynced); // repeat sync to latest target height until first sync } catch (Exception e) { if (wallet != null) log.warn("Error syncing wallet with progress on startup: " + e.getMessage()); forceCloseMainWallet();