From 12ea3a988b1aaaf0c5988d62c00f7cb704a93cae Mon Sep 17 00:00:00 2001 From: tim Date: Sun, 4 Aug 2024 22:41:23 -0400 Subject: [PATCH] log tweak --- src/dexorder/bin/finaldata.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/dexorder/bin/finaldata.py b/src/dexorder/bin/finaldata.py index 05be146..85c73c8 100644 --- a/src/dexorder/bin/finaldata.py +++ b/src/dexorder/bin/finaldata.py @@ -7,8 +7,6 @@ from datetime import timedelta from web3.types import EventData from dexorder import from_timestamp, blockchain, config -from dexorder.addrmeta import address_metadata -from dexorder.base.block import latest_block from dexorder.base.chain import current_chain from dexorder.bin.executable import execute from dexorder.blocks import get_block_timestamp, get_block @@ -46,9 +44,8 @@ async def flush_callback(): fork = current_fork.get() block = await get_block(fork.height, chain_id=chain_id) time = from_timestamp(block.timestamp) - log.info("flushing OHLC's") ohlcs.flush() - log.info(f'backfill completed through block {block.height} {time:%Y-%m-%d %H:%M:%S} {hexstr(block.hash)}') + log.info(f'OHLC\'s flushed through block {block.height} {time:%Y-%m-%d %H:%M:%S} {hexstr(block.hash)}') async def main():