1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

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

This commit is contained in:
Con Kolivas 2012-12-27 09:49:22 +11:00
parent 067a0cd3d4
commit 34a6c59a92

View File

@ -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++) {