1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

Scrypt code does not enter the hashtest function.

This commit is contained in:
Con Kolivas 2012-12-24 10:45:57 +11:00
parent 9fd60bb53a
commit 69dd5affe3

View File

@ -5162,10 +5162,7 @@ static bool hashtest(struct thr_info *thr, struct work *work)
applog(LOG_INFO, "Share below target");
/* Check the diff of the share, even if it didn't reach the
* target, just to set the best share value if it's higher. */
if (opt_scrypt)
scrypt_diff(work);
else
share_diff(work);
share_diff(work);
}
return test;