From 08c721080d4ecf96ff39ccd680168968d4f25ba4 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 27 Apr 2012 15:29:31 +1000 Subject: [PATCH] Don't display the first 8 bytes of a share since they will always be zero at >= 1 difficulty. --- cgminer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cgminer.c b/cgminer.c index f6296a1c..58bc4277 100644 --- a/cgminer.c +++ b/cgminer.c @@ -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 }