Test
This commit is contained in:
@@ -727,12 +727,12 @@ uint32_t komodo_heightstamp(int32_t height)
|
|||||||
void komodo_pindex_init(CBlockIndex *pindex,int32_t height)
|
void komodo_pindex_init(CBlockIndex *pindex,int32_t height)
|
||||||
{
|
{
|
||||||
int32_t i,num; uint8_t pubkeys[64][33]; CBlock block;
|
int32_t i,num; uint8_t pubkeys[64][33]; CBlock block;
|
||||||
if ( pindex->notaryid >= 0 )
|
if ( pindex->didinit != 0 && pindex->notaryid >= 0 )
|
||||||
return;
|
return;
|
||||||
printf("pindex.%d komodo_pindex_init notary.%d from height.%d\n",pindex->nHeight,pindex->notaryid,height);
|
printf("pindex.%d komodo_pindex_init notary.%d from height.%d\n",pindex->nHeight,pindex->notaryid,height);
|
||||||
pindex->notaryid = -1;
|
|
||||||
if ( pindex->didinit == 0 )
|
if ( pindex->didinit == 0 )
|
||||||
{
|
{
|
||||||
|
pindex->notaryid = -1;
|
||||||
if ( KOMODO_LOADINGBLOCKS == 0 )
|
if ( KOMODO_LOADINGBLOCKS == 0 )
|
||||||
memset(pindex->pubkey33,0xff,33);
|
memset(pindex->pubkey33,0xff,33);
|
||||||
else memset(pindex->pubkey33,0,33);
|
else memset(pindex->pubkey33,0,33);
|
||||||
|
|||||||
Reference in New Issue
Block a user