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

Don't check postcalc nonce with sha256 in scrypt.

This commit is contained in:
Con Kolivas 2012-07-13 20:38:26 +10:00
parent 0f43eb5eb7
commit 1aacfe5279

View File

@ -232,7 +232,12 @@ static void *postcalc_hash(void *userdata)
pthread_detach(pthread_self()); pthread_detach(pthread_self());
for (entry = 0; entry < FOUND; entry++) { for (entry = 0; entry < FOUND; entry++) {
if (pcd->res[entry]) if (pcd->res[entry]) {
#ifdef USE_SCRYPT
if (opt_scrypt)
submit_nonce(thr, work, entry);
else
#endif
send_nonce(pcd, pcd->res[entry]); send_nonce(pcd, pcd->res[entry]);
nonces++; nonces++;
} }