ethereum.js not minified, serpent compiler, jsonrpc handles compilers exceptions

This commit is contained in:
Marek Kotewicz 2014-11-17 14:04:57 +01:00
parent 109f57c75f
commit 7b30c14ded

View File

@ -328,6 +328,19 @@ p.append(param3);
}
std::string eth_serpent(const std::string& param1) throw (jsonrpc::JsonRpcException)
{
Json::Value p;
p.append(param1);
Json::Value result = this->client->CallMethod("eth_serpent",p);
if (result.isString())
return result.asString();
else
throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString());
}
bool eth_setCoinbase(const std::string& param1) throw (jsonrpc::JsonRpcException)
{
Json::Value p;