Skip to content

Commit

Permalink
Litecoin: Temp mod (will drop)
Browse files Browse the repository at this point in the history
  • Loading branch information
thrasher- committed Dec 22, 2016
1 parent 70cdb00 commit af815ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit af815ca

Please sign in to comment.