We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a0f7d commit 8da8d49Copy full SHA for 8da8d49
faster_web3/providers/persistent/websocket.py
@@ -70,7 +70,7 @@ def __init__(
70
**kwargs: Any,
71
) -> None:
72
# initialize the endpoint_uri before calling the super constructor
73
- endpoint = URI(endpoint_uri) or get_default_endpoint()
+ endpoint = URI(endpoint_uri) if endpoint_uri else get_default_endpoint()
74
self.endpoint_uri: Final = endpoint
75
super().__init__(**kwargs)
76
self.use_text_frames: Final = use_text_frames
0 commit comments