checking exchange name with lower
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							0b40c37cc5
						
					
				
				
					commit
					40b4a9977e
				
			| @@ -102,7 +102,7 @@ def calculate_backoff(retrycount, max_retries): | ||||
| def retrier_async(f): | ||||
|     async def wrapper(*args, **kwargs): | ||||
|         count = kwargs.pop('count', API_RETRY_COUNT) | ||||
|         kucoin = args[0].name == "Kucoin"  # Check if the exchange is KuCoin. | ||||
|         kucoin = args[0].name.lower() == "kucoin"  # Check if the exchange is KuCoin. | ||||
|         try: | ||||
|             return await f(*args, **kwargs) | ||||
|         except TemporaryError as ex: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user