From 5cff8e1eb226975efcf1db26b7c51025745dfe43 Mon Sep 17 00:00:00 2001 From: Adrian Gallagher Date: Tue, 2 Jun 2020 23:39:54 -0700 Subject: [PATCH] Litecoin: Protocol --- src/validation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validation.cpp b/src/validation.cpp index 30afdf41ea..9c0ffd44e0 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -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;