Browse Source

Test

pull/4/head
jl777 6 years ago
parent
commit
326ddd8684
  1. 4
      src/komodo_bitcoind.h

4
src/komodo_bitcoind.h

@ -727,12 +727,12 @@ uint32_t komodo_heightstamp(int32_t height)
void komodo_pindex_init(CBlockIndex *pindex,int32_t height)
{
int32_t i,num; uint8_t pubkeys[64][33]; CBlock block;
if ( pindex->notaryid >= 0 )
if ( pindex->didinit != 0 && pindex->notaryid >= 0 )
return;
printf("pindex.%d komodo_pindex_init notary.%d from height.%d\n",pindex->nHeight,pindex->notaryid,height);
pindex->notaryid = -1;
if ( pindex->didinit == 0 )
{
pindex->notaryid = -1;
if ( KOMODO_LOADINGBLOCKS == 0 )
memset(pindex->pubkey33,0xff,33);
else memset(pindex->pubkey33,0,33);

Loading…
Cancel
Save