Browse Source

Bugfix: cointerra: Adjust hashes_done to nonce_diff

Luke Dashjr 11 years ago
parent
commit
18515325ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-cointerra.c

+ 1 - 1
driver-cointerra.c

@@ -354,7 +354,7 @@ bool cointerra_poll_msg(struct thr_info * const master_thr)
 			submit_noffset_nonce(mythr, work, nonce, timeoff);
 			
 			// hashes_done must be counted by matches because cointerra devices do not provide a way to know which pipe completed matchless work
-			hashes_done2(mythr, 0x100000000, NULL);
+			hashes_done2(mythr, 0x100000000 * work->nonce_diff, NULL);
 			
 			break;
 		}