aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-02-17 01:03:40 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-02-17 01:04:38 +0800
commit3b995e0f96546c0e421c18eeb1da98a129596b5f (patch)
treed027f163dffd14eae28ede3505882de5e25cd891
parent600b38224ea1592af9a8348b082abb996ee5ef76 (diff)
downloaddexon-solidity-3b995e0f96546c0e421c18eeb1da98a129596b5f.tar.gz
dexon-solidity-3b995e0f96546c0e421c18eeb1da98a129596b5f.tar.zst
dexon-solidity-3b995e0f96546c0e421c18eeb1da98a129596b5f.zip
added shh_getMessages, fixed #899
-rw-r--r--webthreestubclient.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/webthreestubclient.h b/webthreestubclient.h
index 02f5b5e4..93e101bb 100644
--- a/webthreestubclient.h
+++ b/webthreestubclient.h
@@ -535,6 +535,16 @@ class WebThreeStubClient : public jsonrpc::Client
else
throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString());
}
+ Json::Value shh_getMessages(int param1) throw (jsonrpc::JsonRpcException)
+ {
+ Json::Value p;
+ p.append(param1);
+ Json::Value result = this->CallMethod("shh_getMessages",p);
+ if (result.isArray())
+ return result;
+ else
+ throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString());
+ }
};
#endif //JSONRPC_CPP_STUB_WEBTHREESTUBCLIENT_H_