From 34a6c59a92d793ca59023a2b088a3f001a41e3fc Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 27 Dec 2012 09:49:22 +1100 Subject: [PATCH] Reset total diff1 shares when zeroing stats as well to show correct work utility. --- cgminer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cgminer.c b/cgminer.c index f5f011fd..07a78e58 100644 --- a/cgminer.c +++ b/cgminer.c @@ -3930,6 +3930,7 @@ void zero_stats(void) total_ro = 0; total_secs = 1.0; best_diff = 0; + total_diff1 = 0; suffix_string(best_diff, best_share, 0); for (i = 0; i < total_pools; i++) {