From cc07ad72d7719cf2d4bb69776f5adedeed059a44 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 7 Mar 2018 20:50:07 +0200 Subject: [PATCH] Test --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index b0d20b7c5..fc1d3fdd0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3374,7 +3374,7 @@ bool ContextualCheckBlockHeader(const CBlockHeader& block, CValidationState& sta else if ( komodo_checkpoint(¬arized_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;