mirror of
https://github.com/boldsuck/haveno.git
synced 2025-01-08 17:19:29 +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. " +
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue