Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhagarwal03 committed Apr 28, 2023
1 parent 7d68a6d commit 88aaf21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def main(self, sleep_time: int) -> None:
infura_connection = f"https://mainnet.infura.io/v3/{INFURA_KEY}"
web_3 = Web3(Web3.HTTPProvider(infura_connection))
start_block = web_3.eth.block_number
self.logger.warning("starting...")
self.logger.info("starting...")
unchecked_hashes: List[str] = []
while True:
time.sleep(sleep_time)
Expand All @@ -52,7 +52,7 @@ def main(self, sleep_time: int) -> None:
else:
unchecked_hashes.append(single_hash)

self.logger.warning("going to sleep...")
self.logger.info("going to sleep...")
start_block = end_block + 1


Expand Down

0 comments on commit 88aaf21

Please sign in to comment.