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

@@ -481,7 +481,6 @@ UniValue setmocktime(const UniValue& params, bool fHelp)
if(g_connman) {
g_connman->ForEachNode([t](CNode* pnode) {
pnode->nLastSend = pnode->nLastRecv = t;
return true;
});
}