mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-23 10:08:47 +02:00
Nodes: properly initialize hardcoded list
This commit is contained in:
+3
-1
@@ -162,7 +162,9 @@ void Nodes::loadConfig() {
|
||||
if (nodes_obj.contains(netKey)) {
|
||||
QJsonArray nodes_list;
|
||||
nodes_list = nodes_json[netKey].toObject()["tor"].toArray();
|
||||
nodes_list.append(nodes_json[netKey].toObject()["clearnet"].toArray());
|
||||
for (const auto &node : nodes_json[netKey].toObject()["clearnet"].toArray()) {
|
||||
nodes_list.append(node);
|
||||
}
|
||||
|
||||
for (auto node: nodes_list) {
|
||||
FeatherNode wsNode(node.toString());
|
||||
|
||||
Reference in New Issue
Block a user