Browse Source

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

nfactor-troky
Con Kolivas 12 years ago
parent
commit
34a6c59a92
  1. 1
      cgminer.c

1
cgminer.c

@ -3930,6 +3930,7 @@ void zero_stats(void) @@ -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++) {

Loading…
Cancel
Save