This commit is contained in:
jl777
2016-11-08 13:51:02 -03:00
parent a6be357ed3
commit a67020f333

View File

@@ -144,6 +144,9 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
// Check proof of work matches claimed amount
if (UintToArith256(hash) > bnTarget)
{
for (i=0; i<33; i++)
printf("%02x",pubkey33[i]);
printf(" special.%d notaryid.%d ht.%d mod.%d\n",special,notaryid,height,(height % 35));
return error("CheckProofOfWork(): hash doesn't match nBits");
}
if ( flag != 0 )