From 69dd5affe3ad8ddf683c3c95055b10ace102fb57 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 24 Dec 2012 10:45:57 +1100 Subject: [PATCH] Scrypt code does not enter the hashtest function. --- cgminer.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cgminer.c b/cgminer.c index f7591e8d..10a50956 100644 --- a/cgminer.c +++ b/cgminer.c @@ -5162,10 +5162,7 @@ static bool hashtest(struct thr_info *thr, struct work *work) applog(LOG_INFO, "Share below target"); /* Check the diff of the share, even if it didn't reach the * target, just to set the best share value if it's higher. */ - if (opt_scrypt) - scrypt_diff(work); - else - share_diff(work); + share_diff(work); } return test;