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:
parent
3c16c853bd
commit
fa5e0675d6
@ -2112,6 +2112,7 @@ static void set_curblock(char *hexstr, unsigned char *hash)
|
|||||||
current_hash = bin2hex(hash_swap, 16);
|
current_hash = bin2hex(hash_swap, 16);
|
||||||
if (unlikely(!current_hash))
|
if (unlikely(!current_hash))
|
||||||
quit (1, "set_curblock OOM");
|
quit (1, "set_curblock OOM");
|
||||||
|
applog(LOG_INFO, "New block: %s...", current_hash);
|
||||||
if (old_hash)
|
if (old_hash)
|
||||||
free(old_hash);
|
free(old_hash);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user