From 5cbf75324d1509a1262b65c5073314a4da3f6d77 Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Tue, 19 Oct 2010 17:16:51 +0000 Subject: Gavin's TEST network as -testnet switch, misc fixes git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@168 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- net.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net.cpp') diff --git a/net.cpp b/net.cpp index 82b3ffb157..82def0b40a 100644 --- a/net.cpp +++ b/net.cpp @@ -937,7 +937,7 @@ void ThreadOpenConnections2(void* parg) // Add seed nodes if IRC isn't working static bool fSeedUsed; bool fTOR = (fUseProxy && addrProxy.port == htons(9050)); - if (mapAddresses.empty() && (GetTime() - nStart > 60 || fTOR)) + if (mapAddresses.empty() && (GetTime() - nStart > 60 || fTOR) && !fTestNet) { for (int i = 0; i < ARRAYLEN(pnSeed); i++) { -- cgit v1.2.3