fix typo in GetNextWorkRequired

This commit is contained in:
UdjinM6 2016-02-19 21:08:30 +03:00
parent f50d534440
commit 06b6dce132

View File

@ -159,7 +159,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
return nProofOfWorkLimit; return nProofOfWorkLimit;
// Only change once per interval // Only change once per interval
if ((pindexLast->nHeight+1) % params.DifficultyAdjustmentInterval() != 0 != 0) if ((pindexLast->nHeight+1) % params.DifficultyAdjustmentInterval() != 0)
{ {
if (params.fPowAllowMinDifficultyBlocks) if (params.fPowAllowMinDifficultyBlocks)
{ {