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

@@ -898,7 +898,6 @@ UniValue sendrawtransaction(const UniValue& params, bool fHelp)
g_connman->ForEachNode([&inv](CNode* pnode)
{
pnode->PushInventory(inv);
return true;
});
return hashTx.GetHex();
}