From 1d5b47a9033738743e5323409777b1415a0d0af7 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sun, 19 Apr 2015 11:10:13 -0700 Subject: nLastTry is only used for addrman entries No need to define it for every CAddress, as it's memory only anyway. --- src/net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net.cpp') diff --git a/src/net.cpp b/src/net.cpp index 48e6367f2..e5f67262c 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)) -- cgit v1.2.3