This commit is contained in:
jl777
2016-10-31 10:42:39 -03:00
parent 2c938114fd
commit 98622aa76c
2 changed files with 4 additions and 2 deletions

View File

@@ -116,9 +116,10 @@ int32_t komodo_notaries(uint8_t pubkeys[64][33],int32_t height)
{
mask |= (1LL << kp->notaryid);
memcpy(pubkeys[kp->notaryid],kp->pubkey,33);
}
} else printf("illegal notaryid.%d vs n.%d\n",kp->notaryid,n);
}
pthread_mutex_unlock(&komodo_mutex);
printf("notaries ht.%d got mask.%llx for n.%d\n",height,(long long)mask,n);
if ( mask == ((1LL << n)-1) )
return(n);
printf("error retrieving notaries ht.%d got mask.%llx for n.%d\n",height,(long long)mask,n);