From 8fd3bf74df6513fd43c78ce120b3c0806c03d9dd Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 13 Jul 2012 20:40:37 +1000 Subject: [PATCH] Build fix for opt scrypt. --- findnonce.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/findnonce.c b/findnonce.c index 17c4189d..bbbd56f6 100644 --- a/findnonce.c +++ b/findnonce.c @@ -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);