aboutsummaryrefslogtreecommitdiffstats
path: root/webthreestubclient.h
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2014-11-13 03:47:05 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2014-11-13 03:47:05 +0800
commit8e5b6d67cc691ab102fcee85348ad290ebef9cd6 (patch)
treedd5654933316801ec2c6a2386c250a9c59ddcadd /webthreestubclient.h
parent1c9bc82d88b385d5f52db8a98a38273e14d9f19a (diff)
downloaddexon-solidity-8e5b6d67cc691ab102fcee85348ad290ebef9cd6.tar.gz
dexon-solidity-8e5b6d67cc691ab102fcee85348ad290ebef9cd6.tar.zst
dexon-solidity-8e5b6d67cc691ab102fcee85348ad290ebef9cd6.zip
contract calls working from js
Diffstat (limited to 'webthreestubclient.h')
-rw-r--r--webthreestubclient.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/webthreestubclient.h b/webthreestubclient.h
index 3ef657a7..6d844de8 100644
--- a/webthreestubclient.h
+++ b/webthreestubclient.h
@@ -191,12 +191,11 @@ p.append(param3);
}
- std::string eth_contractCall(const std::string& param1, const int& param2, const Json::Value& param3) throw (jsonrpc::JsonRpcException)
+ std::string eth_contractCall(const std::string& param1, const std::string& param2) throw (jsonrpc::JsonRpcException)
{
Json::Value p;
p.append(param1);
p.append(param2);
-p.append(param3);
Json::Value result = this->client->CallMethod("eth_contractCall",p);
if (result.isString())