aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2014-10-28 00:06:14 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2014-10-28 00:06:14 +0800
commitc30ce74fe098d0864d4d178259f0ce1946c5d8bf (patch)
treea338f1798ea5994fc43983951771cf6758765e19
parentf87714cf2378b69ec714d339fba68b9569b30e22 (diff)
downloaddexon-solidity-c30ce74fe098d0864d4d178259f0ce1946c5d8bf.tar.gz
dexon-solidity-c30ce74fe098d0864d4d178259f0ce1946c5d8bf.tar.zst
dexon-solidity-c30ce74fe098d0864d4d178259f0ce1946c5d8bf.zip
missing setDefaultBlock method
-rw-r--r--webthreestubclient.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/webthreestubclient.h b/webthreestubclient.h
index c3a392f5..911d757e 100644
--- a/webthreestubclient.h
+++ b/webthreestubclient.h
@@ -271,6 +271,19 @@ class WebThreeStubClient
}
+ bool setDefaultBlock(const int& param1) throw (jsonrpc::JsonRpcException)
+ {
+ Json::Value p;
+ p.append(param1);
+
+ Json::Value result = this->client->CallMethod("setDefaultBlock",p);
+ if (result.isBool())
+ return result.asBool();
+ else
+ throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString());
+
+ }
+
bool setListening(const bool& param1) throw (jsonrpc::JsonRpcException)
{
Json::Value p;