Browse Source

Merge pull request #515 from nwoolls/bug/gridseed-nonceless-hashes

gridseed: Bugfix: Fix hash-rate calculation when no nonces are being found
Luke-Jr 11 years ago
parent
commit
4f615a7d24
1 changed files with 4 additions and 0 deletions
  1. 4 0
      driver-gridseed.c

+ 4 - 0
driver-gridseed.c

@@ -270,6 +270,10 @@ int64_t gridseed_scanhash(struct thr_info *thr, struct work *work, int64_t __may
 			applog(LOG_ERR, "%"PRIpreprv": Unrecognized response", device->proc_repr);
 	}
 
+	// estimate remaining hashes for elapsed time
+	// e.g. work_restart ~hashes_delay after tv_hashes_done
+	gridseed_hashes_done(thr);
+
 	return 0;
 }