This commit is contained in:
jl777
2016-10-20 14:51:06 -03:00
parent 130231219a
commit 0ed83449cc

View File

@@ -271,7 +271,7 @@ int32_t komodo_heightnotary(int32_t height,uint8_t *pubkey33)
if ( (numnotaries= Pubkeys[height/KOMODO_ELECTION_GAP].numnotaries) > 0 ) if ( (numnotaries= Pubkeys[height/KOMODO_ELECTION_GAP].numnotaries) > 0 )
{ {
modval = ((height % numnotaries) == 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); } else printf("unexpected zero notaries at height.%d\n",height);
} }
return(modval); return(modval);