test
This commit is contained in:
@@ -63,7 +63,7 @@ int32_t komodo_blockindexcheck(CBlockIndex *pindex,uint32_t *nBitsp)
|
|||||||
{
|
{
|
||||||
// 1 -> valid notary block, change nBits to KOMODO_MINDIFF_NBITS
|
// 1 -> valid notary block, change nBits to KOMODO_MINDIFF_NBITS
|
||||||
// -1 -> invalid, ie, prior to notarized block
|
// -1 -> invalid, ie, prior to notarized block
|
||||||
CBlock block; int32_t height; char *coinbasestr;
|
CBlock block; int32_t i,height; char *coinbasestr;
|
||||||
if ( pindex == 0 )
|
if ( pindex == 0 )
|
||||||
return(0);
|
return(0);
|
||||||
if ( ReadBlockFromDisk(block,pindex,1) == 0 )
|
if ( ReadBlockFromDisk(block,pindex,1) == 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user