aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2018-08-02 10:06:51 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2018-08-02 10:07:11 +0200
commitaa30e4bb8fc15d7f83845effb5a95eee68681199 (patch)
treeb61d472c21c52f0f34103db03413573a1c8ddbc5
parentc1cba3572547706f293920bd5dc44b30bc9e4d27 (diff)
parentfa365021bbb4c0865e6655100c1cbf85e2b3c7fa (diff)
downloadbitcoin-aa30e4bb8fc15d7f83845effb5a95eee68681199.tar.xz
Merge #13824: doc: Remove outdated net comment
fa365021bbb4c0865e6655100c1cbf85e2b3c7fa doc: Remove outdated net comment (MarcoFalke) Pull request description: `mapAddresses` and the corresponding "critsect" has been removed in 5fee401fe14aa6459428a26a82f764db70a6a0b9 more than 6 years ago. Now is probably a good time to remove this confusing comment. Tree-SHA512: 498a403d5703da395c18a7ebb776aa6e693e59fe43a839fefd261e0a5af58621763813979d4cfbd8d1728ce73b325b82002e393cde79bdbff33e0fbf68ab6747
-rw-r--r--src/net.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 0ebfefa757..5be91fd4f3 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -1798,7 +1798,6 @@ void CConnman::ThreadOpenConnections(const std::vector<std::string> connect)
CAddress addrConnect;
// Only connect out to one peer per network group (/16 for IPv4).
- // Do this here so we don't have to critsect vNodes inside mapAddresses critsect.
int nOutbound = 0;
std::set<std::vector<unsigned char> > setConnected;
{