Browse Source

Bugfix: modminer: Remove erroneous "else" statement, to fix hashrate reporting

Already-reported hashes must be excluded even from a final scan-finished case
Luke Dashjr 13 years ago
parent
commit
67de07d535
1 changed files with 0 additions and 1 deletions
  1. 0 1
      driver-modminer.c

+ 0 - 1
driver-modminer.c

@@ -458,7 +458,6 @@ modminer_process_results(struct thr_info*thr)
 	uint64_t hashes = (uint64_t)state->clock * (((uint64_t)elapsed.tv_sec * 1000000) + elapsed.tv_usec);
 	if (hashes > 0xffffffff)
 		hashes = 0xffffffff;
-	else
 	if (hashes <= state->hashes)
 		hashes = 1;
 	else