mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
public nodes option entails provided nodes
This commit is contained in:
parent
8097b0f499
commit
b08d6833a8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user