mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-26 15:36:19 +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
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user