Skip to content

Commit cf9bdd0

Browse files
tidy up
1 parent 23ad943 commit cf9bdd0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ethminer/FarmClient.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,10 @@ class FarmClient : public jsonrpc::Client
148148
data.append((Json::UInt64)_difficulty);
149149
data.append("0x" + toHex(_challenge));
150150
Json::Value result = CallMethod("submitShare", data);
151-
if (!result.isString() || result.asString() != "ok")
152-
LogB << "Solution was rejected by the pool! Reason : " << result.asString();
151+
//if (!result.isString() || result.asString() != "ok")
152+
// LogB << "Solution was rejected by the pool! Reason : " << result.asString();
153+
if (!result.isBool() || !result.asBool())
154+
LogB << "Solution was rejected by the pool!";
153155

154156
}
155157

0 commit comments

Comments
 (0)