This commit is contained in:
jl777
2016-10-17 15:05:14 -03:00
parent f920ed0067
commit 9e211e057f

View File

@@ -2954,7 +2954,7 @@ bool CheckBlockHeader(const CBlockHeader& block, CValidationState& state, bool f
nBits = block.nBits;
CBlockIndex *bindex = new CBlockIndex(block);
if ( bindex->nHeight < NOTARIZED_HEIGHT || (bindex->nHeight == NOTARIZED_HEIGHT && NOTARIZED_HASH != bindex->GetHash()) )
if ( bindex->nHeight < NOTARIZED_HEIGHT || (bindex->nHeight == NOTARIZED_HEIGHT && NOTARIZED_HASH != bindex->GetBlockHash()) )
return(false);
if ( (retval= komodo_blockhdrcheck(&block,&nBits)) == 0 )
{