aboutsummaryrefslogtreecommitdiffstats
path: root/webthreestubclient.h
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2015-03-04 18:55:22 +0800
committerGav Wood <i@gavwood.com>2015-03-06 19:45:25 +0800
commitbdab1475d6bb4af99149fb399a21d1c71cc6cda8 (patch)
treee991e1437719de45adb140041116f7e4e0ba9f4e /webthreestubclient.h
parent983514a42ad56e2082d95a60e6c4e2f356c2e343 (diff)
downloaddexon-solidity-bdab1475d6bb4af99149fb399a21d1c71cc6cda8.tar.gz
dexon-solidity-bdab1475d6bb4af99149fb399a21d1c71cc6cda8.tar.zst
dexon-solidity-bdab1475d6bb4af99149fb399a21d1c71cc6cda8.zip
New Proof-of-Work.
Diffstat (limited to 'webthreestubclient.h')
-rw-r--r--webthreestubclient.h3
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();