Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tvorogme committed Apr 15, 2024
1 parent bffd1ae commit 465b6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tonpy/blockscanner/blockscanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def process_shard(x, prev_data=None, lc=None, loglevel=None, known_shards=None,
if loglevel > 3:
old_min = -1
for i in known_shards + stop_shards:
if old_min < i.seqno < x.id.seqno:
if old_min < i.seqno < x.seqno:
old_min = i.seqno

data += f" Nearest: {old_min}, it's {x.id.seqno - old_min} away"
Expand Down

0 comments on commit 465b6fe

Please sign in to comment.