From b850f366a4c4e5135040c276d719be4eefd01439 Mon Sep 17 00:00:00 2001 From: Denis Golovachev Date: Thu, 22 Aug 2024 13:27:53 +0300 Subject: [PATCH] review fixes --- ethereumetl/providers/auto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethereumetl/providers/auto.py b/ethereumetl/providers/auto.py index d79bfe91..8f66ffb0 100644 --- a/ethereumetl/providers/auto.py +++ b/ethereumetl/providers/auto.py @@ -52,7 +52,7 @@ def get_provider_from_uri(uri_string: str, timeout=DEFAULT_TIMEOUT, batch=False) request_kwargs = {'timeout': timeout} return BatchHTTPProvider(endpoint_uri=uri_fixed, request_kwargs=request_kwargs) else: - return WebsocketProvider(uri_string, websocket_timeout=timeout) + return WebsocketProvider(endpoint_uri=uri_string, websocket_timeout=timeout) else: raise ValueError('Unknown uri scheme {}'.format(uri_string))