Skip to content

Commit

Permalink
Revert "Merge pull request #141 from lifquti/error-with-request-block" (
Browse files Browse the repository at this point in the history
#142)

This reverts commit ad366d6, reversing
changes made to 26203ec.

Co-authored-by: Oleksandr Prudnikov <[email protected]>
  • Loading branch information
Grommash9 and Oleksandr Prudnikov authored Jan 10, 2025
1 parent ad366d6 commit 7c07c43
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions aiotx/clients/_tron_base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,6 @@ async def poll_blocks(self, _: int):
self.client.get_block_by_number,
target_block,
)
if block_data is None:
return
await self.process_transactions(block_data["transactions"])
await self.process_block(target_block, network_last_block)
self._latest_block = target_block + 1
Expand Down

0 comments on commit 7c07c43

Please sign in to comment.