From 9a76db8db9b39851a5b0677c44ce9dbb65949d10 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 11 May 2013 17:04:49 +1000 Subject: [PATCH] Regenerate the hash before checking the share diff in hashtest(). --- cgminer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cgminer.c b/cgminer.c index 3a219a1d..66c792da 100644 --- a/cgminer.c +++ b/cgminer.c @@ -5489,6 +5489,7 @@ static int 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. */ + regen_hash(work); share_diff(work); return 0; }