diff --git a/src/dexorder/runner.py b/src/dexorder/runner.py index 7fd25cc..61521bd 100644 --- a/src/dexorder/runner.py +++ b/src/dexorder/runner.py @@ -1,7 +1,6 @@ import asyncio import logging from asyncio import Queue -from datetime import datetime from typing import Callable, Union, Any, Iterable from web3.contract.contract import ContractEvents @@ -156,7 +155,7 @@ class BlockStateRunner: if head != prev_blockhash: prev_blockhash = head await self.queue.put(head) - log.debug(f'detected new block {hexstr(head)}') + log.debug(f'polled new block {head["number"]} {hexstr(head["hash"])}') if not self.running: break await asyncio.sleep(config.polling)