Unify claimtrie tests, add some additional root hash checks #181
1 changed files with 2 additions and 2 deletions
|
@ -48,12 +48,12 @@ double GetDifficulty(const CBlockIndex* blockindex)
|
|||
double dDiff =
|
||||
(double)0x0000ffff / (double)(blockindex->nBits & 0x00ffffff);
|
||||
|
||||
while (nShift < 29)
|
||||
while (nShift < 31)
|
||||
{
|
||||
dDiff *= 256.0;
|
||||
nShift++;
|
||||
}
|
||||
while (nShift > 29)
|
||||
while (nShift > 31)
|
||||
{
|
||||
dDiff /= 256.0;
|
||||
nShift--;
|
||||
|
|
Loading…
Reference in a new issue