mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remote miner fixes.
This commit is contained in:
parent
b6ff445114
commit
71012a83e8
@ -434,11 +434,12 @@ class WebThreeStubClient : public jsonrpc::Client
|
|||||||
else
|
else
|
||||||
throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString());
|
throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString());
|
||||||
}
|
}
|
||||||
bool eth_submitWork(const std::string& param1, const std::string& param2) throw (jsonrpc::JsonRpcException)
|
bool eth_submitWork(const std::string& param1, const std::string& param2, const std::string& param3) throw (jsonrpc::JsonRpcException)
|
||||||
{
|
{
|
||||||
Json::Value p;
|
Json::Value p;
|
||||||
p.append(param1);
|
p.append(param1);
|
||||||
p.append(param2);
|
p.append(param2);
|
||||||
|
p.append(param3);
|
||||||
Json::Value result = this->CallMethod("eth_submitWork",p);
|
Json::Value result = this->CallMethod("eth_submitWork",p);
|
||||||
if (result.isBool())
|
if (result.isBool())
|
||||||
return result.asBool();
|
return result.asBool();
|
||||||
|
Loading…
Reference in New Issue
Block a user