From 06b6dce1322b1cc4c83d5ca566905e0297fa4e57 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Fri, 19 Feb 2016 21:08:30 +0300 Subject: [PATCH] fix typo in GetNextWorkRequired --- src/pow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pow.cpp b/src/pow.cpp index b49ae560d0..8df9048ede 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -159,7 +159,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead return nProofOfWorkLimit; // Only change once per interval - if ((pindexLast->nHeight+1) % params.DifficultyAdjustmentInterval() != 0 != 0) + if ((pindexLast->nHeight+1) % params.DifficultyAdjustmentInterval() != 0) { if (params.fPowAllowMinDifficultyBlocks) {