diff --git a/src/main.cpp b/src/main.cpp index 69bd214ed..e0f7df340 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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 ) {