Nodes: fix missing .onion nodes from hardcoded list

This commit is contained in:
tobtoht 2021-05-27 01:55:49 +02:00
parent c65bc42a4a
commit c691a41d53
No known key found for this signature in database
GPG key ID: 1CADD27F41F45C3C

View file

@ -162,7 +162,7 @@ void Nodes::loadConfig() {
if (nodes_obj.contains(netKey)) {
QJsonArray nodes_list;
nodes_list = nodes_json[netKey].toObject()["tor"].toArray();
nodes_list.append(nodes_list = nodes_json[netKey].toObject()["clearnet"].toArray());
nodes_list.append(nodes_json[netKey].toObject()["clearnet"].toArray());
for (auto node: nodes_list) {
FeatherNode wsNode(node.toString());