Browse Source

Build fix for opt scrypt.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
8fd3bf74df
  1. 3
      findnonce.c

3
findnonce.c

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

Loading…
Cancel
Save