Skip to content

Commit 6199a31

Browse files
committed
disabled web3.py internal retries
1 parent bc5c4f7 commit 6199a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IceCreamSwapWeb3/Web3Advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def _construct_provider(node_url):
120120
assert "://" in node_url
121121
protocol = node_url.split("://")[0]
122122
if protocol in ("https", "http"):
123-
return Web3.HTTPProvider(node_url)
123+
return Web3.HTTPProvider(node_url, exception_retry_configuration=None)
124124
elif protocol in ("ws", "wss"):
125125
return Web3.WebsocketProvider(node_url)
126126
else:

0 commit comments

Comments
 (0)