From 29b517023a740b3a81b7ccb621e962c432007457 Mon Sep 17 00:00:00 2001 From: yungwine Date: Wed, 10 Apr 2024 23:14:43 +0800 Subject: [PATCH] delete unused code --- pytoniq/liteclient/client.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pytoniq/liteclient/client.py b/pytoniq/liteclient/client.py index b4a702a..6e3b6ba 100644 --- a/pytoniq/liteclient/client.py +++ b/pytoniq/liteclient/client.py @@ -291,10 +291,6 @@ async def get_trusted_last_mc_block(self): async def update_last_blocks(self): self.last_mc_block = await self.get_trusted_last_mc_block() - # if self.last_key_block is None: - # block = await self.raw_get_block(self.last_mc_block) - # blk = block.state_update.new.custom.last_key_block - # self.last_key_block = BlockIdExt(workchain=-1, seqno=blk.seqno, shard=-2**63, root_hash=blk.root_hash, file_hash=blk.file_hash) shards = await self.raw_get_all_shards_info(self.last_mc_block) shard_result = {} for k, v in shards.items():