Made the ForEachNode* functions in src/net.cpp more pragmatic and self documenting

This commit is contained in:
Jeremy Rubin
2016-06-15 19:28:04 -04:00
committed by Cory Fields
parent 98591c5027
commit d1a2295f0d
7 changed files with 41 additions and 15 deletions

View File

@@ -61,7 +61,6 @@ UniValue ping(const UniValue& params, bool fHelp)
// Request that each node send a ping during next message processing pass
g_connman->ForEachNode([](CNode* pnode) {
pnode->fPingQueued = true;
return true;
});
return NullUniValue;
}