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())