We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 936fc5c commit d33824fCopy full SHA for d33824f
src/utils.py
@@ -90,7 +90,9 @@ def get_web3_client(
90
"""Returns instance of the Web3 client."""
91
# Either http or ws endpoint must be provided (prefer ws over http)
92
if ws_endpoint:
93
- w3 = Web3(Web3.WebsocketProvider(ws_endpoint, websocket_timeout=ws_endpoint_timeout))
+ w3 = Web3(
94
+ Web3.WebsocketProvider(ws_endpoint, websocket_timeout=ws_endpoint_timeout)
95
+ )
96
logger.info(f"Using Web3 websocket endpoint {ws_endpoint}")
97
98
if inject_retry_request:
0 commit comments