start seednode with monerod address to resolve warning

initialize connection immediately if monerod address given
This commit is contained in:
woodser 2022-12-23 13:13:56 +00:00
parent 1c6d4cec83
commit eae3060c63
3 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -232,7 +232,6 @@ public class MoneroKeyImagePoller {
}
} catch (Exception e) {
log.warn("Error polling key images: " + e.getMessage());
e.printStackTrace();
}
}
}