diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-11-06 22:51:08 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2014-11-06 22:51:08 +0800 |
commit | 543699df955fe73c912281d98bd316d413282dbd (patch) | |
tree | c1e1a2e51069adcb94b5d0c5f71c17564cc5e50d | |
parent | 7271412370fe9bd1c0d639820a8078575664fdd1 (diff) | |
download | dexon-solidity-543699df955fe73c912281d98bd316d413282dbd.tar dexon-solidity-543699df955fe73c912281d98bd316d413282dbd.tar.gz dexon-solidity-543699df955fe73c912281d98bd316d413282dbd.tar.bz2 dexon-solidity-543699df955fe73c912281d98bd316d413282dbd.tar.lz dexon-solidity-543699df955fe73c912281d98bd316d413282dbd.tar.xz dexon-solidity-543699df955fe73c912281d98bd316d413282dbd.tar.zst dexon-solidity-543699df955fe73c912281d98bd316d413282dbd.zip |
added eth_lll
-rw-r--r-- | webthreestubclient.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/webthreestubclient.h b/webthreestubclient.h index 516fe790..179c620a 100644 --- a/webthreestubclient.h +++ b/webthreestubclient.h @@ -254,6 +254,19 @@ p.append(param3); } + std::string eth_lll(const std::string& param1) throw (jsonrpc::JsonRpcException) + { + Json::Value p; + p.append(param1); + + Json::Value result = this->client->CallMethod("eth_lll",p); + if (result.isString()) + return result.asString(); + else + throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString()); + + } + bool eth_mining() throw (jsonrpc::JsonRpcException) { Json::Value p; |