mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	missing setDefaultBlock method
This commit is contained in:
		
							parent
							
								
									f87714cf23
								
							
						
					
					
						commit
						c30ce74fe0
					
				| @ -271,6 +271,19 @@ class WebThreeStubClient | |||||||
| 
 | 
 | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |         bool setDefaultBlock(const int& param1) throw (jsonrpc::JsonRpcException) | ||||||
|  |         { | ||||||
|  |             Json::Value p; | ||||||
|  |             p.append(param1); | ||||||
|  | 
 | ||||||
|  |             Json::Value result = this->client->CallMethod("setDefaultBlock",p); | ||||||
|  |     if (result.isBool()) | ||||||
|  |         return result.asBool(); | ||||||
|  |      else  | ||||||
|  |          throw jsonrpc::JsonRpcException(jsonrpc::Errors::ERROR_CLIENT_INVALID_RESPONSE, result.toStyledString()); | ||||||
|  | 
 | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|         bool setListening(const bool& param1) throw (jsonrpc::JsonRpcException) |         bool setListening(const bool& param1) throw (jsonrpc::JsonRpcException) | ||||||
|         { |         { | ||||||
|             Json::Value p; |             Json::Value p; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user