This commit is contained in:
Jay D Dee
2020-01-16 13:09:56 -05:00
parent 70089d1224
commit f31fe1e8c2
104 changed files with 3517 additions and 2804 deletions

View File

@@ -401,7 +401,7 @@ int scanhash_yescrypt( struct work *work, uint32_t max_nonce,
do {
be32enc(&endiandata[19], n);
yescrypt_hash((char*) endiandata, (char*) vhash, 80);
if (vhash[7] < Htarg && fulltest(vhash, ptarget )
if (vhash[7] <= Htarg && fulltest(vhash, ptarget )
&& !opt_benchmark )
{
pdata[19] = n;