Skip to content
Merged

Fix #13

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def finalize_options(self):

setup(
name="tonpy" if not IS_DEV else "tonpy-dev",
version="0.0.0.1.3c0" if not IS_DEV else "0.0.0.5.9c1",
version="0.0.0.1.4a0" if not IS_DEV else "0.0.0.5.9c1",
author="Disintar LLP",
author_email="andrey@head-labs.com",
description="Types / API for TON blockchain",
Expand Down
8 changes: 2 additions & 6 deletions src/tonpy/blockscanner/blockscanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,9 +805,7 @@ def prepare_prev_block_data(self, shards_data, mc_data):
known_prev_block_data = {}

for x in mc_data:
prev_blocks = [
x['block_id'].to_data_nullabe_hashes()
]
prev_blocks = []
prev_blocks_100 = []

for i in range(x['block_id'].id.seqno - 16, x['block_id'].id.seqno):
Expand Down Expand Up @@ -842,9 +840,7 @@ def prepare_prev_block_data(self, shards_data, mc_data):
if i['master'] in known_prev_block_data:
i['prev_block_data'] = known_prev_block_data[i['master']]
else:
prev_blocks = [
i['master'].to_data_nullabe_hashes()
]
prev_blocks = []
prev_blocks_100 = []
for j in range(i['master'] - 16, i['master']):
prev_blocks.append(known_mcs[j].to_data())
Expand Down
Loading