diff --git a/libs/merkle/src/binary.sw b/libs/merkle/src/binary.sw index 0a03feba..c762e83d 100644 --- a/libs/merkle/src/binary.sw +++ b/libs/merkle/src/binary.sw @@ -227,7 +227,7 @@ fn path_length_from_key(key: u64, num_leaves: u64) -> u64 { total_length = total_length + 1; break; } else if (num_leaves - num_leaves_left_sub_tree) <= 1 { - // If the right sub tree only has one leaf, path has one additonal step + // If the right sub tree only has one leaf, path has one additional step total_length = total_length + 1; break; } else { diff --git a/libs/ownership/src/ownership.sw b/libs/ownership/src/ownership.sw index aa4bb4ff..b3d4fba2 100644 --- a/libs/ownership/src/ownership.sw +++ b/libs/ownership/src/ownership.sw @@ -108,7 +108,7 @@ pub fn renounce_ownership() { /// /// * When ownership has been set before. /// -/// # Number of Storage Acesses +/// # Number of Storage Accesses /// /// * Reads: `1` /// * Write: `1`