This commit is contained in:
jl777
2016-10-17 16:50:23 -03:00
parent a18c8eaa77
commit 2f6bcf659c

View File

@@ -58,7 +58,7 @@ int32_t komodo_blockindexcheck(CBlockIndex *pindex,uint32_t *nBitsp)
int32_t komodo_blockcheck(CBlock *block,uint32_t *nBitsp)
{
CBlockIndex *bindex = new CBlockIndex(block->GetBlockHeader());
CBlockIndex *bindex = 0;//new CBlockIndex(block->GetBlockHeader());
if ( bindex != 0 && bindex->nHeight <= NOTARIZED_HEIGHT )
return(-1);
// 1 -> valid notary block, change nBits to KOMODO_MINDIFF_NBITS