Skip to content

Commit

Permalink
fix:bad typo (#581)
Browse files Browse the repository at this point in the history
bad typo
  • Loading branch information
BibFlu authored Nov 7, 2023
1 parent 5cfb1ed commit 01e3bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/event/event_utils.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ impl LogDataImpl of LogDataTrait {

/// Deserialize all the sub-dicts serialized into a LogData
fn deserialize(ref serialized: Span<felt252>) -> Option<LogData> {
// 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');
}
Expand Down Expand Up @@ -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<felt252>) -> Span<felt252> {
let mut dict_data: Array<felt252> = array![];
Expand Down

0 comments on commit 01e3bf3

Please sign in to comment.