Browse Source

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

nfactor-troky
Con Kolivas 13 years ago
parent
commit
08c721080d
  1. 3
      cgminer.c

3
cgminer.c

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

Loading…
Cancel
Save