missing setDefaultBlock method

This commit is contained in:
Marek Kotewicz 2014-10-27 17:06:14 +01:00
parent f87714cf23
commit c30ce74fe0

View File

@ -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;