diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2015-04-19 11:10:13 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2015-04-19 11:10:23 -0700 |
commit | 1d5b47a9033738743e5323409777b1415a0d0af7 (patch) | |
tree | 9c5dcb4c5e3e44204d45a53922f205545f77c750 /src/net.cpp | |
parent | 8f955b9661224adc950e302b42d2f7bcb5e90bef (diff) |
nLastTry is only used for addrman entries
No need to define it for every CAddress, as it's memory only anyway.
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 48e6367f20..e5f67262ce 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1221,7 +1221,7 @@ void ThreadOpenConnections() int nTries = 0; while (true) { - CAddress addr = addrman.Select(); + CAddrInfo addr = addrman.Select(); // if we selected an invalid address, restart if (!addr.IsValid() || setConnected.count(addr.GetGroup()) || IsLocal(addr)) |