This commit is contained in:
Sebastian
2024-07-12 11:48:18 +02:00
parent fa020e88a5
commit 965cd0c9f8

View File

@@ -53,9 +53,9 @@ while low <= high:
if hash_1 == hash_2: if hash_1 == hash_2:
first_matching_block = mid first_matching_block = mid
high = mid - 1 # Continue searching in the lower half high = mid + 1 # Continue searching in the upper half
else: else:
low = mid + 1 # Continue searching in the upper half low = mid - 1 # Continue searching in the lower half
# Sleep for one second before the next comparison # Sleep for one second before the next comparison
time.sleep(1) time.sleep(1)