Browse Source

Fix IsInitialBlockDownload if running on testnet

git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@175 1a98c847-1fd6-4fd8-948a-caf3550aa51b
0.8
gavinandresen 14 years ago
parent
commit
3b8848fa4e
  1. 2
      main.cpp

2
main.cpp

@ -929,7 +929,7 @@ bool CheckProofOfWork(uint256 hash, unsigned int nBits) @@ -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;

Loading…
Cancel
Save