Remove todo comment in unpack offer check squeak hash (#1169)

This commit is contained in:
Jonathan Zernik 2021-09-03 10:50:00 -07:00 committed by GitHub
parent 408ec42340
commit 2e77b01523
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -221,7 +221,7 @@ class SqueakCore:
"""
# Get the squeak hash
squeak_hash = get_hash(squeak)
# TODO: check if squeak hash matches squeak_hash in buy_offer.
# Check if squeak hash matches squeak_hash in buy_offer.
if squeak_hash != offer.squeak_hash:
raise Exception("Squeak hash in offer {!r} does not match squeak hash {!r}.".format(
offer.squeak_hash, squeak_hash