]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
nodes: retain username/password for custom nodes
authortobtoht <tob@featherwallet.org>
Mon, 29 May 2023 19:11:26 +0000 (21:11 +0200)
committertobtoht <tob@featherwallet.org>
Mon, 29 May 2023 19:11:26 +0000 (21:11 +0200)
src/utils/nodes.cpp

index 2ca9ea235cce4f4fb85704482b2134b95f2ecc1c..942d542040c92c989f295ed88afaea5f1d0d24fe 100644 (file)
@@ -387,9 +387,9 @@ void Nodes::setCustomNodes(const QList<FeatherNode> &nodes) {
 
     QStringList nodesList;
     for (auto const &node: nodes) {
-        if (nodesList.contains(node.toAddress())) // skip duplicates
+        if (nodesList.contains(node.toFullAddress())) // skip duplicates
             continue;
-        nodesList.append(node.toAddress());
+        nodesList.append(node.toFullAddress());
         m_customNodes.append(node);
     }