test
This commit is contained in:
@@ -643,7 +643,7 @@ 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)) >= 0 )
|
||||
if ( (mids[i]= komodo_minerid(height-i,pubkey33) | (pindex->nHeight<<8)) >= 0 )
|
||||
(*nonzpkeysp)++;
|
||||
if ( mids[0] >= 0 && i > 0 && mids[i] == mids[0] )
|
||||
duplicate++;
|
||||
|
||||
@@ -188,7 +188,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
|
||||
if ( height > 180000 && nonzpkeys > 0 && strcmp((char *)NOTARY_PUBKEY.c_str(),"03b7621b44118017a16043f19b30cc8a4cfe068ac4e42417bae16ba460c80f3828") == 0 )
|
||||
{
|
||||
for (i=0; i<66; i++)
|
||||
fprintf(stderr,"%d ",mids[i]);
|
||||
fprintf(stderr,"%x ",mids[i]);
|
||||
fprintf(stderr," minerids from ht.%d\n",height);
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user