1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 10:04:33 +00:00

Don't display the first 8 bytes of a share since they will always be zero at >= 1 difficulty.

This commit is contained in:
Con Kolivas 2012-04-27 15:29:31 +10:00
parent 501e35a0e6
commit 08c721080d

View File

@ -1645,8 +1645,7 @@ static bool submit_upstream_work(const struct work *work)
if (isblock)
found_blocks++;
hash32 = (uint32_t *)(work->hash);
sprintf(hashshow, "%08lx.%08lx.%08lx%s",
(unsigned long)(hash32[7]), (unsigned long)(hash32[6]), (unsigned long)(hash32[5]),
sprintf(hashshow, "%08lx.%08lx%s", (unsigned long)(hash32[6]), (unsigned long)(hash32[5]),
isblock ? " BLOCK!" : "");
#endif
}