notarized checkpoint

This commit is contained in:
jl777
2016-10-17 13:18:45 -03:00
parent 870e3556fa
commit f2d60864a9
4 changed files with 12 additions and 5 deletions

View File

@@ -199,8 +199,7 @@ Value generate(const Array& params, bool fHelp)
if ( (retval= komodo_blockcheck(pblock,&nBits)) == 0 )
{
return CheckProofOfWork(pblock->GetHash(), nBits, Params().GetConsensus());
}
else if ( retval < 0 ) // komodo rejects, ie. prior to notarized blockhash
} else if ( retval < 0 ) // komodo rejects, ie. prior to notarized blockhash
return(false);
return true;
};