1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-13 06:01:03 +00:00

Build fix for opt scrypt.

This commit is contained in:
Con Kolivas 2012-07-13 20:40:37 +10:00
parent 1aacfe5279
commit 8fd3bf74df

View File

@ -235,11 +235,12 @@ static void *postcalc_hash(void *userdata)
if (pcd->res[entry]) {
#ifdef USE_SCRYPT
if (opt_scrypt)
submit_nonce(thr, work, entry);
submit_nonce(thr, pcd->work, entry);
else
#endif
send_nonce(pcd, pcd->res[entry]);
nonces++;
}
}
free(pcd);