This commit is contained in:
jl777
2016-11-19 12:47:11 -03:00
parent 1ebb14e740
commit 0b4c2bd1d3

View File

@@ -56,7 +56,7 @@ int32_t komodo_ratify_threshold(int32_t height,uint64_t signedmask)
{
int32_t htind,numnotaries,i,wt = 0;
htind = height / KOMODO_ELECTION_GAP;
numnotaries = sp->Pubkeys[htind].numnotaries;
numnotaries = Pubkeys[htind].numnotaries;
for (i=0; i<numnotaries; i++)
if ( ((1LL << i) & signedmask) != 0 )
wt++;