Skip to content

Commit 232bce0

Browse files
committed
chore: fix exception handling
1 parent bec99c1 commit 232bce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyinjective/async_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ async def sync_timeout_height(self):
176176
try:
177177
block = await self.get_latest_block()
178178
self.timeout_height = block.block.header.height + DEFAULT_TIMEOUTHEIGHT
179-
except Exception as e:
179+
except Exception:
180180
self.timeout_height = 0
181181

182182
# cookie helper methods

0 commit comments

Comments
 (0)