Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Sep 5, 2023
1 parent 609acd3 commit 4965f5d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions yearn/v2/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,6 @@ async def watch_events(self):

if chain.id == Network.Arbitrum:
assert len(self._vaults) == 3, (events, self._vaults)

while height == await dank_w3.eth.block_number:
await asyncio.sleep(5)

async for logs in get_logs_asap_generator([str(addr) for addr in self.registries], from_block=height + 1, chronological=True, run_forever=True):
await self.process_events(decode_logs(logs))
Expand Down

0 comments on commit 4965f5d

Please sign in to comment.