Browse Source

Scrypt code does not enter the hashtest function.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
69dd5affe3
  1. 5
      cgminer.c

5
cgminer.c

@ -5162,10 +5162,7 @@ static bool hashtest(struct thr_info *thr, struct work *work)
applog(LOG_INFO, "Share below target"); applog(LOG_INFO, "Share below target");
/* Check the diff of the share, even if it didn't reach the /* Check the diff of the share, even if it didn't reach the
* target, just to set the best share value if it's higher. */ * target, just to set the best share value if it's higher. */
if (opt_scrypt) share_diff(work);
scrypt_diff(work);
else
share_diff(work);
} }
return test; return test;

Loading…
Cancel
Save