Browse Source

Merge commit '3de5f77' into cg_merges_20130818a

Luke Dashjr 12 years ago
parent
commit
0677475518
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -2095,7 +2095,7 @@ void __update_block_title(const unsigned char *hash_swap)
 		current_hash = malloc(3 /* ... */ + 16 /* block hash segment */ + 1);
 		bin2hex(tmp, &hash_swap[24], 8);
 		memset(current_hash, '.', 3);
-		memcpy(current_hash, tmp, 17);
+		memcpy(&current_hash[3], tmp, 17);
 		known_blkheight_current = false;
 	} else if (likely(known_blkheight_current)) {
 		return;