This commit is contained in:
jl777
2018-03-08 05:46:26 +02:00
parent ca65f7ab1e
commit f233f9b156

View File

@@ -3437,7 +3437,7 @@ bool AcceptBlockHeader(const CBlockHeader& block, CValidationState& state, CBloc
*ppindex = pindex;
if (pindex != 0 && pindex->nStatus & BLOCK_FAILED_MASK)
return state.Invalid(error("%s: block is marked invalid", __func__), 0, "duplicate");
if ( pindex != 0 )//&& IsInitialBlockDownload() == 0 ) // jl777 debug test
if ( pindex != 0 && IsInitialBlockDownload() == 0 ) // jl777 debug test
{
if (!CheckBlockHeader(pindex->nHeight,pindex, block, state))
{