Browse Source

Reverse logic

master
Con Kolivas 10 years ago
parent
commit
5fd152c370
  1. 2
      src/stratifier.c

2
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);

Loading…
Cancel
Save