Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
mining-visualizer committed Apr 14, 2018
1 parent 23ad943 commit cf9bdd0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ethminer/FarmClient.h
Expand Up @@ -148,8 +148,10 @@ class FarmClient : public jsonrpc::Client
data.append((Json::UInt64)_difficulty);
data.append("0x" + toHex(_challenge));
Json::Value result = CallMethod("submitShare", data);
if (!result.isString() || result.asString() != "ok")
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();
if (!result.isBool() || !result.asBool())
LogB << "Solution was rejected by the pool!";

}

Expand Down

0 comments on commit cf9bdd0

Please sign in to comment.