Revert "Litecoin: Temp mod (will drop)"
This reverts commit af815ca0fd0cd70fc97761862a247407a63fcf90.
This commit is contained in:
parent
d5d122f679
commit
8aefe98c60
@ -3569,9 +3569,9 @@ bool ContextualCheckBlockHeader(const CBlockHeader& block, CValidationState& sta
|
||||
strprintf("rejected nVersion=0x%08x block", version - 1));
|
||||
|
||||
// Reject outdated version blocks when 75% of the network (BIP9 rules) has upgraded:
|
||||
//if (block.nVersion < VERSIONBITS_TOP_BITS && IsWitnessEnabled(pindexPrev, consensusParams))
|
||||
// return state.Invalid(false, REJECT_OBSOLETE, strprintf("bad-version(0x%08x)", block.nVersion),
|
||||
// strprintf("rejected nVersion=0x%08x block", block.nVersion));
|
||||
if (block.nVersion < VERSIONBITS_TOP_BITS && IsWitnessEnabled(pindexPrev, consensusParams))
|
||||
return state.Invalid(false, REJECT_OBSOLETE, strprintf("bad-version(0x%08x)", block.nVersion),
|
||||
strprintf("rejected nVersion=0x%08x block", block.nVersion));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user