Skip to content

Commit

Permalink
Update main.cpp with older target.
Browse files Browse the repository at this point in the history
  • Loading branch information
biidcoin committed Jan 7, 2018
1 parent 484137a commit 574fcd6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Expand Up @@ -1011,6 +1011,8 @@ const CBlockIndex* GetLastBlockIndex(const CBlockIndex* pindex, bool fProofOfSta
unsigned int GetNextTargetRequired(const CBlockIndex* pindexLast, bool fProofOfStake)
{
CBigNum bnTargetLimit = fProofOfStake ? GetProofOfStakeLimit(pindexLast->nHeight) : Params().ProofOfWorkLimit();
if (pindexLast->nHeight == 1000)
return 453050367;

if (pindexLast == NULL)
return bnTargetLimit.GetCompact(); // genesis block
Expand Down

0 comments on commit 574fcd6

Please sign in to comment.