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 f2d9e85 commit 3a63cb1Copy full SHA for 3a63cb1
pyinjective/core/network.py
@@ -370,8 +370,9 @@ def custom(
370
grpc_explorer_endpoint,
371
chain_id,
372
env,
373
- cookie_assistant: CookieAssistant,
+ cookie_assistant: Optional[CookieAssistant] = None,
374
):
375
+ assistant = cookie_assistant or DisabledCookieAssistant()
376
return cls(
377
lcd_endpoint=lcd_endpoint,
378
tm_websocket_endpoint=tm_websocket_endpoint,
@@ -381,7 +382,7 @@ def custom(
381
382
chain_id=chain_id,
383
fee_denom="inj",
384
env=env,
- cookie_assistant=cookie_assistant
385
+ cookie_assistant=assistant
386
)
387
388
def string(self):
0 commit comments