mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	contract calls working from js
This commit is contained in:
		
							parent
							
								
									1c9bc82d88
								
							
						
					
					
						commit
						8e5b6d67cc
					
				| @ -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()) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user