mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-11-17 00:07:49 +00:00
public nodes option entails provided nodes
This commit is contained in:
parent
8097b0f499
commit
b08d6833a8
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue