Merge pull request #4584

0430c30 Add missing FindNode prototype to net.h (Wladimir J. van der Laan)
This commit is contained in:
Wladimir J. van der Laan
2014-07-25 11:05:52 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -456,7 +456,7 @@ CNode* FindNode(const CNetAddr& ip)
return NULL;
}
CNode* FindNode(std::string addrName)
CNode* FindNode(const std::string& addrName)
{
LOCK(cs_vNodes);
BOOST_FOREACH(CNode* pnode, vNodes)