This commit is contained in:
jl777
2018-03-07 20:50:07 +02:00
parent e2c2f297d1
commit cc07ad72d7

View File

@@ -3374,7 +3374,7 @@ bool ContextualCheckBlockHeader(const CBlockHeader& block, CValidationState& sta
else if ( komodo_checkpoint(&notarized_height,nHeight,hash) < 0 )
{
CBlockIndex *heightblock = chainActive[nHeight];
if ( heightblock != 0 && pblockindex->GetBlockHash() == hash )
if ( heightblock != 0 && heightblock->GetBlockHash() == hash )
{
fprintf(stderr,"got a pre notarization block that matches height.%d\n",(int32_t)nHeight);
return true;