From 701c6cae1766550c735741d324c776f8831d94b4 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 2 Jan 2017 15:46:01 +1100 Subject: [PATCH] Send transactions after informing connector to acknowledge new remote trusted server. --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 28d72635..8c8e82d5 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -6341,9 +6341,9 @@ static void parse_method(ckpool_t *ckp, sdata_t *sdata, stratum_instance_t *clie client->identity, client->address, client->server); connector_drop_client(ckp, client_id); } else { - add_remote_server(sdata, client); snprintf(buf, 255, "remote=%"PRId64, client_id); send_proc(ckp->connector, buf); + add_remote_server(sdata, client); } sprintf(client->identity, "remote:%"PRId64, client_id); return;