aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-03-16 15:10:30 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-03-16 15:10:30 +0800
commit8c7dace7fe32a3a60a8045640586f6326771662e (patch)
tree66a8ed99b67e22000e81f91eda7268e6d7a414ee
parent1646ab45a8e7934b83d592edd23b1b2b2dbbab48 (diff)
parent65f2df15df85203993674a7c961599c525d7e36f (diff)
downloaddexon-solidity-8c7dace7fe32a3a60a8045640586f6326771662e.tar
dexon-solidity-8c7dace7fe32a3a60a8045640586f6326771662e.tar.gz
dexon-solidity-8c7dace7fe32a3a60a8045640586f6326771662e.tar.bz2
dexon-solidity-8c7dace7fe32a3a60a8045640586f6326771662e.tar.lz
dexon-solidity-8c7dace7fe32a3a60a8045640586f6326771662e.tar.xz
dexon-solidity-8c7dace7fe32a3a60a8045640586f6326771662e.tar.zst
dexon-solidity-8c7dace7fe32a3a60a8045640586f6326771662e.zip
Merge remote-tracking branch 'upstream/develop' into addTests
-rw-r--r--webthreestubclient.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/webthreestubclient.h b/webthreestubclient.h
index 687ebc49..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;
@@ -197,12 +186,12 @@ class WebThreeStubClient : public jsonrpc::Client
else
throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString());
}
- std::string eth_getData(const std::string& param1, const std::string& param2) throw (jsonrpc::JsonRpcException)
+ std::string eth_getCode(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_getData",p);
+ Json::Value result = this->CallMethod("eth_getCode",p);
if (result.isString())
return result.asString();
else