test
This commit is contained in:
@@ -36,9 +36,12 @@ int32_t komodo_blockindexcheck(CBlockIndex *pindex,uint32_t *nBitsp)
|
|||||||
return(0);
|
return(0);
|
||||||
try { filein >> block; }
|
try { filein >> block; }
|
||||||
catch (const std::exception& e) { return(0); }
|
catch (const std::exception& e) { return(0); }
|
||||||
height = pindex->nHeight;
|
if ( block.vtx.size() > 0 )
|
||||||
coinbasestr = (char *)block.vtx[0].vout[0].scriptPubKey.ToString().c_str();
|
{
|
||||||
printf("ht.%d (%s)\n",height,coinbasestr);
|
height = pindex->nHeight;
|
||||||
|
coinbasestr = (char *)block.vtx[0].vout[0].scriptPubKey.ToString().c_str();
|
||||||
|
printf("ht.%d (%s)\n",height,coinbasestr);
|
||||||
|
}
|
||||||
// compare against elected notary pubkeys as of height
|
// compare against elected notary pubkeys as of height
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user