This commit is contained in:
jl777
2017-02-02 20:26:58 +02:00
parent 86ea3c770d
commit 17c303ddf4

View File

@@ -643,8 +643,11 @@ int32_t komodo_eligiblenotary(int32_t *mids,int32_t *nonzpkeysp,int32_t height)
if ( pindex != 0 )
{
komodo_index2pubkey33(pubkey33,pindex,height-i);
if ( (mids[i]= komodo_minerid(height-i,pubkey33) | (pindex->nHeight<<8)) >= 0 )
if ( (mids[i]= komodo_minerid(height-i,pubkey33)) >= 0 )
{
mids[i] = *(int32_t *)pubkey33;
(*nonzpkeysp)++;
}
if ( mids[0] >= 0 && i > 0 && mids[i] == mids[0] )
duplicate++;
pindex = pindex->pprev;