mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Made the ForEachNode* functions in src/net.cpp more pragmatic and self documenting
This commit is contained in:
committed by
Cory Fields
parent
98591c5027
commit
d1a2295f0d
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user