diff --git a/Makefile b/Makefile index 9cc639d5..40fdf03f 100644 --- a/Makefile +++ b/Makefile @@ -100,6 +100,7 @@ seednode-local: --useDevPrivilegeKeys=true \ --nodePort=2002 \ --appName=haveno-XMR_LOCAL_Seed_2002 \ + --xmrNode=http://localhost:28081 \ arbitrator-daemon-local: # Arbitrator needs to be registered before making trades diff --git a/core/src/main/java/bisq/core/api/CoreMoneroConnectionsService.java b/core/src/main/java/bisq/core/api/CoreMoneroConnectionsService.java index 65ec788f..8c3ecaf5 100644 --- a/core/src/main/java/bisq/core/api/CoreMoneroConnectionsService.java +++ b/core/src/main/java/bisq/core/api/CoreMoneroConnectionsService.java @@ -102,6 +102,9 @@ public final class CoreMoneroConnectionsService { this.connectionManager = connectionManager; this.connectionList = connectionList; + // initialize immediately if monerod configured + if (!"".equals(config.xmrNode)) initialize(); + // initialize after account open and basic setup walletsSetup.addSetupTaskHandler(() -> { // TODO: use something better than legacy WalletSetup for notification to initialize diff --git a/core/src/main/java/bisq/core/btc/wallet/MoneroKeyImagePoller.java b/core/src/main/java/bisq/core/btc/wallet/MoneroKeyImagePoller.java index 5cc8221e..af49708a 100644 --- a/core/src/main/java/bisq/core/btc/wallet/MoneroKeyImagePoller.java +++ b/core/src/main/java/bisq/core/btc/wallet/MoneroKeyImagePoller.java @@ -232,7 +232,6 @@ public class MoneroKeyImagePoller { } } catch (Exception e) { log.warn("Error polling key images: " + e.getMessage()); - e.printStackTrace(); } } }