Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/starknet-types-core/src/felt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ impl Felt {
Self(self.0.pow(exponent.0.representative()))
}

// Implemention taken from Jonathan Lei's starknet-rs
// Implementation taken from Jonathan Lei's starknet-rs
// https://github.com/xJonathanLEI/starknet-rs/blob/a3a0050f80e90bd40303256a85783f4b5b18258c/starknet-crypto/src/fe_utils.rs#L20
/// Modular multiplication between `self` and `rhs` in modulo `p`.
pub fn mul_mod(&self, rhs: &Self, p: &NonZeroFelt) -> Self {
Expand All @@ -299,7 +299,7 @@ impl Felt {
Felt::from_bytes_be(&result)
}

// Implemention taken from Jonathan Lei's starknet-rs
// Implementation taken from Jonathan Lei's starknet-rs
// https://github.com/xJonathanLEI/starknet-rs/blob/a3a0050f80e90bd40303256a85783f4b5b18258c/starknet-crypto/src/fe_utils.rs#L46
/// Multiplicative inverse of `self` in modulo `p`.
pub fn mod_inverse(&self, p: &NonZeroFelt) -> Option<Self> {
Expand Down