public nodes option entails provided nodes

This commit is contained in:
woodser 2024-04-19 14:26:49 -04:00
parent 8097b0f499
commit b08d6833a8

View file

@ -49,15 +49,15 @@ public class XmrNodesSetupPreferences {
log.warn("Custom nodes is set but no valid nodes are provided. " + log.warn("Custom nodes is set but no valid nodes are provided. " +
"We fall back to provided nodes option."); "We fall back to provided nodes option.");
preferences.setMoneroNodesOptionOrdinal(XmrNodes.MoneroNodesOption.PROVIDED.ordinal()); preferences.setMoneroNodesOptionOrdinal(XmrNodes.MoneroNodesOption.PROVIDED.ordinal());
result = nodes.getAllXmrNodes(); result = nodes.getProvidedXmrNodes();
} }
break; break;
case PUBLIC: case PUBLIC:
result = nodes.getPublicXmrNodes(); result = nodes.getAllXmrNodes(); // public entails provided nodes
break; break;
case PROVIDED: case PROVIDED:
default: default:
result = nodes.getAllXmrNodes(); result = nodes.getProvidedXmrNodes();
break; break;
} }