We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23ad943 commit cf9bdd0Copy full SHA for cf9bdd0
ethminer/FarmClient.h
@@ -148,8 +148,10 @@ class FarmClient : public jsonrpc::Client
148
data.append((Json::UInt64)_difficulty);
149
data.append("0x" + toHex(_challenge));
150
Json::Value result = CallMethod("submitShare", data);
151
- if (!result.isString() || result.asString() != "ok")
152
- LogB << "Solution was rejected by the pool! Reason : " << result.asString();
+ //if (!result.isString() || result.asString() != "ok")
+ // LogB << "Solution was rejected by the pool! Reason : " << result.asString();
153
+ if (!result.isBool() || !result.asBool())
154
+ LogB << "Solution was rejected by the pool!";
155
156
}
157
0 commit comments