diff --git a/src/stratifier.c b/src/stratifier.c index 4a63b713..fe8dcf99 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -5775,7 +5775,7 @@ static void set_worker_mindiff(ckpool_t *ckp, const char *workername, int mindif /* Then find the matching worker user */ worker = get_worker(sdata, user, workername); - if (mindiff < 1) { + if (mindiff < 0) { LOGINFO("Worker %s requested invalid diff %d", worker->workername, mindiff); return; }