mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-22 11:39:29 +00:00
start seednode with monerod address to resolve warning
initialize connection immediately if monerod address given
This commit is contained in:
parent
1c6d4cec83
commit
eae3060c63
3 changed files with 4 additions and 1 deletions
1
Makefile
1
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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -232,7 +232,6 @@ public class MoneroKeyImagePoller {
|
|||
}
|
||||
} catch (Exception e) {
|
||||
log.warn("Error polling key images: " + e.getMessage());
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue