mirror of
				https://github.com/Instadapp/chains.git
				synced 2024-07-29 22:37:19 +00:00 
			
		
		
		
	Use isBlank() instead of isEmpty()
This commit is contained in:
		
							parent
							
								
									5c9c26a7e8
								
							
						
					
					
						commit
						b542d3745c
					
				|  | @ -410,7 +410,7 @@ fun checkChain(chainFile: File, connectRPC: Boolean, verbose: Boolean = false) { | |||
|         (jsonObject["rpc"] as List<*>).forEach { | ||||
|             if (it !is String) { | ||||
|                 throw (RPCMustBeListOfStrings()) | ||||
|             } else if (it.isEmpty()) { | ||||
|             } else if (it.isBlank()) { | ||||
|                 throw (RPCCannotBeEmpty()) | ||||
|             } else { | ||||
|                 if (connectRPC) { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 ligi
						ligi