mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
nodes: retain username/password for custom nodes
This commit is contained in:
parent
579725dd8d
commit
e746ccd6f0
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue