diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 3eed9f2d7..52de0c960 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -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;