From 3b8848fa4e9b2cd8187cf90a7cbeabd662490c2b Mon Sep 17 00:00:00 2001 From: gavinandresen Date: Thu, 4 Nov 2010 00:23:00 +0000 Subject: [PATCH] Fix IsInitialBlockDownload if running on testnet git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@175 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index e18cdc4f18f..2cb418aa48b 100644 --- a/main.cpp +++ b/main.cpp @@ -929,7 +929,7 @@ bool CheckProofOfWork(uint256 hash, unsigned int nBits) bool IsInitialBlockDownload() { - if (pindexBest == NULL || nBestHeight < 74000) + if (pindexBest == NULL || (!fTestNet && nBestHeight < 74000)) return true; static int64 nLastUpdate; static CBlockIndex* pindexLastBest;