aboutsummaryrefslogtreecommitdiffstats
path: root/webthreestubclient.h
diff options
context:
space:
mode:
authorPaweł Bylica <pawel.bylica@imapp.pl>2015-03-06 22:34:02 +0800
committerPaweł Bylica <pawel.bylica@imapp.pl>2015-03-06 22:34:02 +0800
commit5fb44b241debf9230aea69b7708e204a88ba9d83 (patch)
tree0644526a7861d260a4b021de0694afec921a2f25 /webthreestubclient.h
parent51e376efb8dc2f410872c682e4bf36955ec7caca (diff)
parent1234526c938504134b6b86252353ab5e2ae6319f (diff)
downloaddexon-solidity-5fb44b241debf9230aea69b7708e204a88ba9d83.tar
dexon-solidity-5fb44b241debf9230aea69b7708e204a88ba9d83.tar.gz
dexon-solidity-5fb44b241debf9230aea69b7708e204a88ba9d83.tar.bz2
dexon-solidity-5fb44b241debf9230aea69b7708e204a88ba9d83.tar.lz
dexon-solidity-5fb44b241debf9230aea69b7708e204a88ba9d83.tar.xz
dexon-solidity-5fb44b241debf9230aea69b7708e204a88ba9d83.tar.zst
dexon-solidity-5fb44b241debf9230aea69b7708e204a88ba9d83.zip
Merge remote-tracking branch 'upstream/develop' into evmjit
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();