Browse Source

Merge branch 'bugfix_mm_hweratio' into bfgminer

Luke Dashjr 13 years ago
parent
commit
69dd1511e1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      driver-modminer.c

+ 3 - 0
driver-modminer.c

@@ -489,7 +489,10 @@ modminer_process_results(struct thr_info*thr)
 			state->no_nonce_counter = 0;
 			bad = !test_nonce(work, nonce);
 			if (!bad)
+			{
+				++state->good_share_counter;
 				submit_nonce(thr, work, nonce);
+			}
 			else {
 				++hw_errors;
 				if (++modminer->hw_errors * 100 > 1000 + state->good_share_counter)