Skip to content

Commit ead49b0

Browse files
committed
fix: Limit listenKey query-param format to USD-M futures only, not COIN-M
1 parent bdbb102 commit ead49b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binance/ws/keepalive_websocket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async def __aexit__(self, *args, **kwargs):
5454
await super().__aexit__(*args, **kwargs)
5555

5656
def _build_path(self):
57-
if self._keepalive_type in ("futures", "coin_futures"):
57+
if self._keepalive_type == "futures":
5858
self._path = f"?listenKey={self._listen_key}"
5959
self._prefix = "ws"
6060
else:

0 commit comments

Comments
 (0)