From 3b2a0063c034fe29e550b1073c0b79b810f3dcc6 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Tue, 11 Nov 2014 09:06:35 +0100 Subject: [PATCH] contract create and contract call working --- webthreestubclient.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webthreestubclient.h b/webthreestubclient.h index cf749aac7..3ef657a7e 100644 --- a/webthreestubclient.h +++ b/webthreestubclient.h @@ -191,7 +191,7 @@ p.append(param3); } - std::string eth_contractCall(const std::string& param1, const std::string& param2, const Json::Value& param3) throw (jsonrpc::JsonRpcException) + std::string eth_contractCall(const std::string& param1, const int& param2, const Json::Value& param3) throw (jsonrpc::JsonRpcException) { Json::Value p; p.append(param1); @@ -206,11 +206,10 @@ p.append(param3); } - std::string eth_contractCreate(const std::string& param1, const std::string& param2) throw (jsonrpc::JsonRpcException) + std::string eth_contractCreate(const std::string& param1) throw (jsonrpc::JsonRpcException) { Json::Value p; p.append(param1); -p.append(param2); Json::Value result = this->client->CallMethod("eth_contractCreate",p); if (result.isString())