1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 13:04:29 +00:00

Display the beginning of the new block in verbose mode in the logs.

This commit is contained in:
Con Kolivas 2012-03-28 20:32:49 +11:00
parent 3c16c853bd
commit fa5e0675d6

View File

@ -2112,6 +2112,7 @@ static void set_curblock(char *hexstr, unsigned char *hash)
current_hash = bin2hex(hash_swap, 16);
if (unlikely(!current_hash))
quit (1, "set_curblock OOM");
applog(LOG_INFO, "New block: %s...", current_hash);
if (old_hash)
free(old_hash);
}