From fcfc06e77be78adad91cbece7f93a0411d4c5ab7 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 7 Oct 2014 15:09:20 +1100 Subject: [PATCH] More logic fail --- src/stratifier.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index a758e2c9..7f3db490 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -2732,7 +2732,6 @@ 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 = MAX(ckp->startdiff, mindiff); if (mindiff != client->diff) { client->diff = mindiff; stratum_send_diff(client);