Test
This commit is contained in:
@@ -742,7 +742,7 @@ void komodo_pindex_init(CBlockIndex *pindex,int32_t height)
|
|||||||
for (i=0; i<33; i++)
|
for (i=0; i<33; i++)
|
||||||
fprintf(stderr,"%02x",pindex->pubkey33[i]);
|
fprintf(stderr,"%02x",pindex->pubkey33[i]);
|
||||||
fprintf(stderr," set pubkey at height %d/%d\n",pindex->nHeight,height);
|
fprintf(stderr," set pubkey at height %d/%d\n",pindex->nHeight,height);
|
||||||
pindex->didinit = 1;
|
pindex->didinit = (KOMODO_LOADINGBLOCKS == 0);
|
||||||
} else fprintf(stderr,"error loading block at %d/%d",pindex->nHeight,height);
|
} else fprintf(stderr,"error loading block at %d/%d",pindex->nHeight,height);
|
||||||
}
|
}
|
||||||
if ( pindex->didinit != 0 && pindex->nHeight >= 0 && (num= komodo_notaries(pubkeys,(int32_t)pindex->nHeight,(uint32_t)pindex->nTime)) > 0 )
|
if ( pindex->didinit != 0 && pindex->nHeight >= 0 && (num= komodo_notaries(pubkeys,(int32_t)pindex->nHeight,(uint32_t)pindex->nTime)) > 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user