Fix IsInitialBlockDownload if running on testnet
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@175 1a98c847-1fd6-4fd8-948a-caf3550aa51b
This commit is contained in:
parent
3cac997e19
commit
3b8848fa4e
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
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;
|
||||
|
|
Loading…
Reference in a new issue