From 6a72525b8b6b0bda4b773f154983c3727081210f Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 7 Oct 2014 10:55:41 +1100 Subject: [PATCH] Search for authorise in response instead of auth to match query --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index ec2d5bb5..deb77b83 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1609,7 +1609,7 @@ static int send_recv_auth(stratum_instance_t *client) json_get_int(&worker->mindiff, val, "difficultydefault"); client->suggest_diff = worker->mindiff; } - if (!safecmp(response, "ok.auth") && secondaryuserid) { + if (!safecmp(response, "ok.authorise") && secondaryuserid) { if (!user_instance->secondaryuserid) user_instance->secondaryuserid = secondaryuserid; else