This commit is contained in:
jl777
2016-10-21 09:58:30 -03:00
parent 62b70c88c7
commit fdafadd0f1

View File

@@ -507,8 +507,8 @@ void static BitcoinMiner(CWallet *pwallet)
// Search
//
int64_t nStart = GetTime();
if ( komodo_chosennotary(&notaryid,pblock->nHeight,NOTARY_PUBKEY33) > 0 )
fprintf(stderr,"I am the chosen one for ht.%d\n",pblock->nHeight);
if ( komodo_chosennotary(&notaryid,pindexPrev->nHeight+1,NOTARY_PUBKEY33) > 0 )
fprintf(stderr,"I am the chosen one for ht.%d\n",pindexPrev->nHeight+1);
arith_uint256 hashTarget = arith_uint256().SetCompact(pblock->nBits);
while (true)