Skip to content

Commit 76ec6bc

Browse files
enitratobatirou
andauthored
Update cairo/tests/utils/serde.py
Co-authored-by: Oba <obatirou@gmail.com>
1 parent d207802 commit 76ec6bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cairo/tests/utils/serde.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,8 @@ def _serialize_mapping_struct(
546546
serialized_dict[preimage] = value
547547

548548
elif get_origin(python_key_type) is tuple:
549-
# If the key is a tuple, we're in the case of a Set[Tuple[Address, Bytes32]]]
550-
# Where the key is the hashed tuple.]
549+
# If the key is a tuple, we're in the case of a Set[Tuple[Address, Bytes32]]
550+
# where the key is the hashed tuple.
551551
hashed_key = poseidon_hash_many(key)
552552
preimage_address = key[0].to_bytes(20, "little")
553553
preimage_bytes32 = b"".join(

0 commit comments

Comments
 (0)