diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-03-10 18:40:30 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-03-10 18:40:30 +0800 |
commit | 223a102aff41ad44bf82b348643fd100ba5fa6a8 (patch) | |
tree | 270a4b13b54b6fef53432a6828d3dd3b142ed98c /webthreestubclient.h | |
parent | ac96c5bf599d94b35dd80e01d9f66d12e54f4ec2 (diff) | |
download | dexon-solidity-223a102aff41ad44bf82b348643fd100ba5fa6a8.tar.gz dexon-solidity-223a102aff41ad44bf82b348643fd100ba5fa6a8.tar.zst dexon-solidity-223a102aff41ad44bf82b348643fd100ba5fa6a8.zip |
eth_call on block with number
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 454162e7..7f47fe78 100644 --- a/webthreestubclient.h +++ b/webthreestubclient.h @@ -198,10 +198,11 @@ class WebThreeStubClient : public jsonrpc::Client else throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString()); } - std::string eth_call(const Json::Value& param1) throw (jsonrpc::JsonRpcException) + std::string eth_call(const Json::Value& param1, const std::string& param2) throw (jsonrpc::JsonRpcException) { Json::Value p; p.append(param1); + p.append(param2); Json::Value result = this->CallMethod("eth_call",p); if (result.isString()) return result.asString(); |