From 1aacfe52795a70a4357bce09625fafc17ebac7ad Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 13 Jul 2012 20:38:26 +1000 Subject: [PATCH] Don't check postcalc nonce with sha256 in scrypt. --- findnonce.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/findnonce.c b/findnonce.c index 4e40de53..17c4189d 100644 --- a/findnonce.c +++ b/findnonce.c @@ -232,8 +232,13 @@ static void *postcalc_hash(void *userdata) pthread_detach(pthread_self()); for (entry = 0; entry < FOUND; entry++) { - if (pcd->res[entry]) - send_nonce(pcd, 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]); nonces++; }