From d09fe78c62c9c31c995d0c45647d7b9f6cb33336 Mon Sep 17 00:00:00 2001 From: woodser <13068859+woodser@users.noreply.github.com> Date: Tue, 29 Jul 2025 08:59:14 -0400 Subject: [PATCH] skip switching connection when outdated and main wallet disconnected --- .../main/java/haveno/core/xmr/wallet/XmrWalletService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 4daecbe79a..1849981731 100644 --- a/core/src/main/java/haveno/core/xmr/wallet/XmrWalletService.java +++ b/core/src/main/java/haveno/core/xmr/wallet/XmrWalletService.java @@ -1871,8 +1871,8 @@ public class XmrWalletService extends XmrWalletBase { // switch if wallet disconnected if (Boolean.TRUE.equals(connection.isConnected() && !wallet.isConnectedToDaemon())) { - log.warn("Switching to next best connection because main wallet is disconnected"); - if (requestSwitchToNextBestConnection()) return; // calls back to this method + log.warn("Main wallet is disconnected from monerod, requesting switch to next best connection"); + if (requestSwitchToNextBestConnection(connection)) return; // calls back to this method } // update poll period