This commit is contained in:
jl777
2016-10-17 13:27:06 -03:00
parent f2d60864a9
commit d6b4ea6610
2 changed files with 2 additions and 2 deletions

View File

@@ -58,7 +58,7 @@ int32_t komodo_blockindexcheck(CBlockIndex *pindex,uint32_t *nBitsp)
int32_t komodo_blockcheck(CBlock *block,uint32_t *nBitsp)
{
if ( block.GetHeight() <= NOTARIZED_HEIGHT )
if ( block->GetHeight() <= NOTARIZED_HEIGHT )
return(-1);
// 1 -> valid notary block, change nBits to KOMODO_MINDIFF_NBITS
// -1 -> invalid, ie, prior to notarized block