Browse Source

Merge branch 'master' into peercoin

peercoin
Intel 11 years ago
parent
commit
1791b4c3de
  1. 6
      src/server/poolserver/Stratum/Client.cpp

6
src/server/poolserver/Stratum/Client.cpp

@ -270,7 +270,7 @@ namespace Stratum @@ -270,7 +270,7 @@ namespace Stratum
result.Add(int64(4));
JSON response;
response["id"] = msg["id"].GetInt();
response["id"] = msg["id"];
response["result"] = result;
response["error"];
@ -296,13 +296,13 @@ namespace Stratum @@ -296,13 +296,13 @@ namespace Stratum
SetDifficulty(_minDiff);
JSON response;
response["id"] = msg["id"].GetInt();
response["id"] = msg["id"];
response["error"];
response["result"] = true;
SendMessage(response);
} else {
JSON response;
response["id"] = msg["id"].GetInt();
response["id"] = msg["id"];
response["error"].Add(int64(20));
response["error"].Add("Authentication failed");
response["error"].Add(JSON());

Loading…
Cancel
Save