test
This commit is contained in:
@@ -74,7 +74,7 @@ int32_t komodo_blockindexcheck(CBlockIndex *pindex,uint32_t *nBitsp)
|
|||||||
coinbasestr = (char *)block.vtx[0].vout[0].scriptPubKey.ToString().c_str();
|
coinbasestr = (char *)block.vtx[0].vout[0].scriptPubKey.ToString().c_str();
|
||||||
for (i=0; i<64; i++)
|
for (i=0; i<64; i++)
|
||||||
{
|
{
|
||||||
if ( Notaries[i][0] == 0 )
|
if ( Notaries[i][0] == 0 || Notaries[i][1] == 0 || Notaries[i][0][0] == 0 || Notaries[i][1][0] == 0 )
|
||||||
break;
|
break;
|
||||||
if ( strncmp(Notaries[i][1],coinbasestr,66) == 0 )
|
if ( strncmp(Notaries[i][1],coinbasestr,66) == 0 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user