Commit 34a6c59a92d793ca59023a2b088a3f001a41e3fc

Con Kolivas 2012-12-27T09:49:22

Reset total diff1 shares when zeroing stats as well to show correct work utility.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/cgminer.c b/cgminer.c
index f5f011f..07a78e5 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++) {