Skip to content

Commit

Permalink
delete unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
yungwine committed Apr 10, 2024
1 parent 5f894a0 commit 29b5170
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pytoniq/liteclient/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 29b5170

Please sign in to comment.