From 01e3bf3ecbf263a6aac99708e981ae18eea4fadb Mon Sep 17 00:00:00 2001 From: BibFlu <150136196+BibFlu@users.noreply.github.com> Date: Tue, 7 Nov 2023 12:15:53 +0100 Subject: [PATCH] fix:bad typo (#581) bad typo --- src/event/event_utils.cairo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/event/event_utils.cairo b/src/event/event_utils.cairo index 9e2ed0ac..3a4f6f7f 100644 --- a/src/event/event_utils.cairo +++ b/src/event/event_utils.cairo @@ -120,7 +120,7 @@ impl LogDataImpl of LogDataTrait { /// Deserialize all the sub-dicts serialized into a LogData fn deserialize(ref serialized: Span) -> Option { - // There should be the right amount of dictionnaries serialized + // There should be the right amount of dictionaries serialized if serialized.occurrences_of(END_OF_DICT) != DICTS_IN_LOGDATA { panic_with_felt252('serialized format error'); } @@ -166,7 +166,7 @@ impl LogDataImpl of LogDataTrait { // UTILITY FUNCTION // -/// Pop every elements from the span until the next occurences of END_OF_DICT or +/// Pop every elements from the span until the next occurrences of END_OF_DICT or /// the end of the Span and return those values in a Span. fn get_next_dict_serialized(ref serialized: Span) -> Span { let mut dict_data: Array = array![];