Fix WarningBitsConditionChecker (#1765)

Assume that all masternodes are upgraded to avoid false warnings
This commit is contained in:
UdjinM6 2017-12-07 19:07:21 +03:00 committed by GitHub
parent 3028af19f1
commit 51b2c7501c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1933,7 +1933,7 @@ public:
{
return ((pindex->nVersion & VERSIONBITS_TOP_MASK) == VERSIONBITS_TOP_BITS) &&
((pindex->nVersion >> bit) & 1) != 0 &&
((ComputeBlockVersion(pindex->pprev, params) >> bit) & 1) == 0;
((ComputeBlockVersion(pindex->pprev, params, true) >> bit) & 1) == 0;
}
};