diff options
author | Gav Wood <i@gavwood.com> | 2015-03-15 02:59:07 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2015-03-15 02:59:07 +0800 |
commit | 1b09e5debba1e04627474ba8ec3b2b7d5bcd1fd6 (patch) | |
tree | 593e2ce92cac97e9d2b988465b825fe22881be8e /webthreestubclient.h | |
parent | 204f53c6ad8fd09884bc3023075f4534ce9bcd81 (diff) | |
download | dexon-solidity-1b09e5debba1e04627474ba8ec3b2b7d5bcd1fd6.tar.gz dexon-solidity-1b09e5debba1e04627474ba8ec3b2b7d5bcd1fd6.tar.zst dexon-solidity-1b09e5debba1e04627474ba8ec3b2b7d5bcd1fd6.zip |
Renaming getData -> getCode, remove getStorage, fix a bunch of JSONRPC
methods with more expansive error handling.
Diffstat (limited to 'webthreestubclient.h')
-rw-r--r-- | webthreestubclient.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/webthreestubclient.h b/webthreestubclient.h index e0ecd2eb..4754bbbe 100644 --- a/webthreestubclient.h +++ b/webthreestubclient.h @@ -123,17 +123,6 @@ class WebThreeStubClient : public jsonrpc::Client else throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString()); } - Json::Value eth_getStorage(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_getStorage",p); - if (result.isObject()) - return result; - else - throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString()); - } std::string eth_getStorageAt(const std::string& param1, const std::string& param2, const std::string& param3) throw (jsonrpc::JsonRpcException) { Json::Value p; |