1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

log: add LOG_DEBUG message on restarting stratum.

This commit is contained in:
Noel Maersk 2014-02-14 20:51:16 +02:00
parent ed586c4aa5
commit 91d36d097a

3
util.c
View File

@ -2422,12 +2422,15 @@ out:
bool restart_stratum(struct pool *pool)
{
applog(LOG_DEBUG, "Restarting stratum on pool %s", pool->poolname);
if (pool->stratum_active)
suspend_stratum(pool);
if (!initiate_stratum(pool))
return false;
if (!auth_stratum(pool))
return false;
return true;
}