From d6955d334544151b5250bb889059e4e55a196e29 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 30 Oct 2014 11:38:00 +1100 Subject: [PATCH] Remove lower limit on suggest-diff since it is usually only set on initial client connect --- src/stratifier.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/stratifier.c b/src/stratifier.c index 52073773..1f7acc5e 100644 --- a/src/stratifier.c +++ b/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); }