Litecoin: Protocol

pull/751/head
Adrian Gallagher 4 years ago
parent a66fc11fc4
commit 5cff8e1eb2
No known key found for this signature in database
GPG Key ID: FE3348877809386C

@ -3521,7 +3521,7 @@ static bool ContextualCheckBlockHeader(const CBlockHeader& block, BlockValidatio
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),
return state.Invalid(BlockValidationResult::BLOCK_INVALID_HEADER, strprintf("bad-version(0x%08x)", block.nVersion),
strprintf("rejected nVersion=0x%08x block", block.nVersion));
return true;

Loading…
Cancel
Save