Unify claimtrie tests, add some additional root hash checks #181

Closed
BrannonKing wants to merge 291 commits from unify_claimtrie_tests into master
Showing only changes of commit f4be61d90a - Show all commits

View file

@ -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--;