mirror of
https://github.com/JayDDee/cpuminer-opt.git
synced 2025-09-17 23:44:27 +00:00
v3.5.9
This commit is contained in:
8
util.c
8
util.c
@@ -1797,10 +1797,10 @@ static bool stratum_set_difficulty(struct stratum_ctx *sctx, json_t *params)
|
||||
sctx->next_diff = diff;
|
||||
pthread_mutex_unlock(&sctx->work_lock);
|
||||
|
||||
// /* store for api stats */
|
||||
// stratum_diff = diff;
|
||||
//
|
||||
// applog(LOG_WARNING, "Stratum difficulty set to %g", diff);
|
||||
/* store for api stats */
|
||||
stratum_diff = diff;
|
||||
|
||||
applog(LOG_WARNING, "Stratum difficulty set to %g", diff);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user