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 a78bd489fd..2986ede2d0 100644 --- a/core/src/main/java/haveno/core/xmr/wallet/XmrWalletService.java +++ b/core/src/main/java/haveno/core/xmr/wallet/XmrWalletService.java @@ -772,9 +772,9 @@ public class XmrWalletService { wallet.setDaemonConnection(connection); if (connection != null) wallet.getDaemonConnection().setPrintStackTrace(PRINT_STACK_TRACE); if (connection != null && !Boolean.FALSE.equals(connection.isConnected())) { - wallet.startSyncing(connectionsService.getRefreshPeriodMs()); new Thread(() -> { try { + wallet.startSyncing(connectionsService.getRefreshPeriodMs()); wallet.sync(); } catch (Exception e) { log.warn("Failed to sync main wallet after setting daemon connection: " + e.getMessage());