File tree 2 files changed +0
-12
lines changed
2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -339,17 +339,6 @@ CNode* CConnman::FindNode(const CNetAddr& ip)
339
339
return nullptr ;
340
340
}
341
341
342
- CNode* CConnman::FindNode (const CSubNet& subNet)
343
- {
344
- LOCK (m_nodes_mutex);
345
- for (CNode* pnode : m_nodes) {
346
- if (subNet.Match (static_cast <CNetAddr>(pnode->addr ))) {
347
- return pnode;
348
- }
349
- }
350
- return nullptr ;
351
- }
352
-
353
342
CNode* CConnman::FindNode (const std::string& addrName)
354
343
{
355
344
LOCK (m_nodes_mutex);
Original file line number Diff line number Diff line change @@ -1329,7 +1329,6 @@ class CConnman
1329
1329
uint64_t CalculateKeyedNetGroup (const CAddress& ad) const ;
1330
1330
1331
1331
CNode* FindNode (const CNetAddr& ip);
1332
- CNode* FindNode (const CSubNet& subNet);
1333
1332
CNode* FindNode (const std::string& addrName);
1334
1333
CNode* FindNode (const CService& addr);
1335
1334
You can’t perform that action at this time.
0 commit comments