Browse Source

Remove lower limit on suggest-diff since it is usually only set on initial client connect

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

5
src/stratifier.c

@ -2541,10 +2541,7 @@ static void suggest_diff(stratum_instance_t *client, const char *method, json_t
client->suggest_diff = sdiff;
if (client->diff == sdiff)
return;
if (sdiff < client->diff * 2 / 3)
client->diff = client->diff * 2 / 3;
else
client->diff = sdiff;
client->diff = sdiff;
stratum_send_diff(client);
}

Loading…
Cancel
Save