diff --git a/src/stratifier.c b/src/stratifier.c index 69845ba4..736a5e3f 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1146,7 +1146,7 @@ static void reconnect_clients(sdata_t *sdata, const int proxyid, const int64_t n ck_rlock(&sdata->instance_lock); HASH_ITER(hh, sdata->stratum_instances, client, tmp) { - if (client->proxyid > proxyid || (client->proxyid == proxyid && client->notify_id != notify_id)) + if (client->proxyid != proxyid || client->notify_id != notify_id) client->reconnect = true; } ck_runlock(&sdata->instance_lock);