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. " +
"We fall back to provided nodes option.");
preferences.setMoneroNodesOptionOrdinal(XmrNodes.MoneroNodesOption.PROVIDED.ordinal());
result = nodes.getAllXmrNodes();
result = nodes.getProvidedXmrNodes();
}
break;
case PUBLIC:
result = nodes.getPublicXmrNodes();
result = nodes.getAllXmrNodes(); // public entails provided nodes
break;
case PROVIDED:
default:
result = nodes.getAllXmrNodes();
result = nodes.getProvidedXmrNodes();
break;
}