diff --git a/util.c b/util.c index 353c1876..8baa480b 100644 --- a/util.c +++ b/util.c @@ -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; }