mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
fix typo in GetNextWorkRequired
This commit is contained in:
parent
f50d534440
commit
06b6dce132
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user