aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-01-03 10:14:22 -0500
committerGavin Andresen <gavinandresen@gmail.com>2012-01-03 10:17:28 -0500
commit0fcf91ea1e23697736032caadc8e487e0ba6cfef (patch)
tree4738fbd6c1d7061b58b8492423e3d2fdce48b7f9 /src/net.cpp
parent4231eb217ca06e93cfb0875924b4383f92baf134 (diff)
downloadbitcoin-0fcf91ea1e23697736032caadc8e487e0ba6cfef.tar.xz
Fix issue #659, and cleanup wallet/command-line argument handling a bit
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp
index c204cb2d0c..6dab7e8c11 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -1471,7 +1471,7 @@ void ThreadOpenConnections2(void* parg)
{
// Add seed nodes if IRC isn't working
bool fTOR = (fUseProxy && addrProxy.port == htons(9050));
- if (mapAddresses.empty() && (GetTime() - nStart > 60 || fTOR) && !fTestNet)
+ if (mapAddresses.empty() && (GetTime() - nStart > 60 || fUseProxy) && !fTestNet)
fAddSeeds = true;
}