|
|
@ -5765,6 +5765,8 @@ static void set_worker_mindiff(ckpool_t *ckp, const char *workername, int mindif |
|
|
|
LOGINFO("Worker %s requested invalid diff %d", worker->workername, mindiff); |
|
|
|
LOGINFO("Worker %s requested invalid diff %d", worker->workername, mindiff); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (!mindiff) |
|
|
|
|
|
|
|
mindiff = ckp->startdiff; |
|
|
|
if (mindiff < ckp->mindiff) |
|
|
|
if (mindiff < ckp->mindiff) |
|
|
|
mindiff = ckp->mindiff; |
|
|
|
mindiff = ckp->mindiff; |
|
|
|
if (mindiff == worker->mindiff) |
|
|
|
if (mindiff == worker->mindiff) |
|
|
|