test
This commit is contained in:
@@ -153,7 +153,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
|
||||
for (i=31; i>=0; i--)
|
||||
printf("%02x",((uint8_t *)&bnTarget)[i]);
|
||||
printf(" ht.%d REWIND.%d special.%d notaryid.%d ht.%d mod.%d error\n",height,KOMODO_REWIND,special,notaryid,height,(height % 35));
|
||||
if ( KOMODO_REWIND == 0 || height <= KOMODO_REWIND )
|
||||
if ( (KOMODO_REWIND == 0 && height > 106000) || height <= KOMODO_REWIND )
|
||||
return error("CheckProofOfWork(): hash doesn't match nBits");
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user