1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-13 06:01:03 +00:00

Scrypt mining does not support block testing yet so don't try to print it.

This commit is contained in:
Con Kolivas 2012-08-03 10:10:53 +10:00
parent 3ee6c1d310
commit 15dc4bb320

View File

@ -1770,10 +1770,9 @@ static bool submit_upstream_work(const struct work *work, CURL *curl)
if (!QUIET) {
hash32 = (uint32_t *)(work->hash);
if (opt_scrypt) {
sprintf(hashshow, "%08lx.%08lx%s", (unsigned long)(hash32[7]), (unsigned long)(hash32[6]),
work->block? " BLOCK!" : "");
} else {
if (opt_scrypt)
sprintf(hashshow, "%08lx.%08lx", (unsigned long)(hash32[7]), (unsigned long)(hash32[6]));
else {
sprintf(hashshow, "%08lx.%08lx%s", (unsigned long)(hash32[6]), (unsigned long)(hash32[5]),
work->block? " BLOCK!" : "");
}