Browse Source

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

Con Kolivas 13 years ago
parent
commit
34a6c59a92
1 changed files with 1 additions and 0 deletions
  1. 1 0
      cgminer.c

+ 1 - 0
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++) {