Skip to content

Commit

Permalink
info -> warning log
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhagarwal03 committed Apr 28, 2023
1 parent 167126b commit 7d68a6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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.info("starting...")
self.logger.warning("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.info("going to sleep...")
self.logger.warning("going to sleep...")
start_block = end_block + 1


Expand Down
2 changes: 1 addition & 1 deletion src/off_chain/cow_endpoint_surplus.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def logging_function(
Logs to terminal (and file iff file_name is passed).
"""

self.logger.info(
self.logger.warning(
"Transaction Hash: %s\nFor order: %s\nWinning Solver: %s\n"
"More surplus Corresponding Solver: %s\nDeviation: %s\n"
"absolute difference: %s\n",
Expand Down

0 comments on commit 7d68a6d

Please sign in to comment.