diff options
Diffstat (limited to 'webthreestubclient.h')
-rw-r--r-- | webthreestubclient.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webthreestubclient.h b/webthreestubclient.h index 70aa9db9..6d97ea67 100644 --- a/webthreestubclient.h +++ b/webthreestubclient.h @@ -437,10 +437,11 @@ class WebThreeStubClient : public jsonrpc::Client else throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString()); } - bool eth_submitWork(const std::string& param1) throw (jsonrpc::JsonRpcException) + bool eth_submitWork(const std::string& param1, const std::string& param2) throw (jsonrpc::JsonRpcException) { Json::Value p; p.append(param1); + p.append(param2); Json::Value result = this->CallMethod("eth_submitWork",p); if (result.isBool()) return result.asBool(); |