File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 11[project ]
22name = " deltadefi"
3- version = " 0.1.2 "
3+ version = " 0.1.3 "
44description = " Python SDK for DeltaDeFi protocol."
55readme = " README.md"
66requires-python = " >3.11,<4.0.0"
Original file line number Diff line number Diff line change @@ -187,10 +187,8 @@ async def _reconnect(self) -> None:
187187 # In a more complex implementation, you'd want to handle multiple concurrent subscriptions
188188 if self .subscriptions :
189189 first_sub = next (iter (self .subscriptions .values ()))
190- if first_sub .get ("type" ) == "trade" :
191- await self .connect (first_sub ["endpoint" ])
192- else :
193- await self .connect ()
190+ # Always use the stored endpoint for reconnection
191+ await self .connect (first_sub ["endpoint" ])
194192 else :
195193 await self .connect ()
196194
You can’t perform that action at this time.
0 commit comments