fix bug which caused monerod param to be ignored

This commit is contained in:
woodser 2022-07-14 13:23:49 -04:00
parent 13d567b724
commit 59e5f8e79a

View File

@ -379,7 +379,7 @@ public final class CoreMoneroConnectionsService {
}
// if using legacy desktop app, connect to best available connection
if (!coreContext.isApiUser()) {
if (!coreContext.isApiUser() && "".equals(config.xmrNode)) {
connectionManager.setAutoSwitch(true);
connectionManager.setConnection(connectionManager.getBestAvailableConnection());
}