diff options
author | gavinandresen <gavinandresen@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-11-04 00:23:00 +0000 |
---|---|---|
committer | gavinandresen <gavinandresen@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-11-04 00:23:00 +0000 |
commit | 3b8848fa4e9b2cd8187cf90a7cbeabd662490c2b (patch) | |
tree | accf81d6a435c8b63c5790512f1905106ffea47c /main.cpp | |
parent | 3cac997e19aae151f11d7201982d286ae4c386f6 (diff) |
Fix IsInitialBlockDownload if running on testnet
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@175 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |