diff --git a/src/stratifier.c b/src/stratifier.c index bd82490e..a758e2c9 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -2732,7 +2732,7 @@ static void sauth_process(ckpool_t *ckp, json_params_t *jp) /* Update the client now if they have set a valid mindiff different * from the startdiff */ mindiff = MAX(ckp->mindiff, client->suggest_diff); - mindiff = MIN(ckp->startdiff, mindiff); + mindiff = MAX(ckp->startdiff, mindiff); if (mindiff != client->diff) { client->diff = mindiff; stratum_send_diff(client);