From d03b9af456d05be4fe0024135d065f82df05f8f2 Mon Sep 17 00:00:00 2001 From: Tim Olson <> Date: Fri, 5 Jan 2024 15:53:09 -0400 Subject: [PATCH] debug printout touchup --- src/dexorder/runner.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)