From 2e3cada2e8f5ffe63e0f847b54b2a5bf41fa7f92 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 17 Nov 2016 20:57:11 -0300 Subject: [PATCH] test --- src/komodo_notary.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/komodo_notary.h b/src/komodo_notary.h index c3676caa3..f11ed60a7 100644 --- a/src/komodo_notary.h +++ b/src/komodo_notary.h @@ -147,7 +147,7 @@ void komodo_notarysinit(int32_t origheight,uint8_t pubkeys[64][33],int32_t num) } } N.numnotaries = num; - for (i=htind; i= KOMODO_MAXBLOCKS ) { @@ -179,12 +179,12 @@ int32_t komodo_chosennotary(int32_t *notaryidp,int32_t height,uint8_t *pubkey33) { *notaryidp = kp->notaryid; modval = ((height % numnotaries) == kp->notaryid); - printf("found notary.%d ht.%d modval.%d\n",kp->notaryid,height,modval); + //printf("found notary.%d ht.%d modval.%d\n",kp->notaryid,height,modval); } else printf("unexpected zero notaries at height.%d\n",height); } - int32_t i; for (i=0; i<33; i++) - printf("%02x",pubkey33[i]); - printf(" ht.%d notary.%d special.%d\n",height,*notaryidp,modval); + //int32_t i; for (i=0; i<33; i++) + // printf("%02x",pubkey33[i]); + //printf(" ht.%d notary.%d special.%d htind.%d num.%d\n",height,*notaryidp,modval,htind,numnotaries); return(modval); }