Browse Source

Test

pull/4/head
jl777 7 years ago
parent
commit
31e2e8a37a
  1. 2
      src/komodo_notary.h
  2. 1
      src/main.cpp

2
src/komodo_notary.h

@ -246,6 +246,8 @@ int32_t komodo_chosennotary(int32_t *notaryidp,int32_t height,uint8_t *pubkey33)
return(modval);
}
}
//if ( height >= 250000 )
return(-1);
htind = height / KOMODO_ELECTION_GAP;
pthread_mutex_lock(&komodo_mutex);
HASH_FIND(hh,Pubkeys[htind].Notaries,pubkey33,33,kp);

1
src/main.cpp

@ -3872,6 +3872,7 @@ bool LoadBlockIndex()
return false;
}
KOMODO_LOADINGBLOCKS = 0;
fprintf(stderr,"finished loading blocks\n");
return true;
}

Loading…
Cancel
Save