Browse Source

Merge branch 'bugfix_blkcmp' into bfgminer

Luke Dashjr 13 years ago
parent
commit
25ba8151d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -3232,7 +3232,7 @@ static void test_work_current(struct work *work)
 
 
 	uint32_t block_id = ((uint32_t*)(work->data))[1];
 	uint32_t block_id = ((uint32_t*)(work->data))[1];
 
 
-	hexstr = bin2hex(work->data, 18);
+	hexstr = bin2hex(&work->data[4], 18);
 	if (unlikely(!hexstr)) {
 	if (unlikely(!hexstr)) {
 		applog(LOG_ERR, "stage_thread OOM");
 		applog(LOG_ERR, "stage_thread OOM");
 		return;
 		return;