From c30026d08b5489386af1048936d457f04785a34a Mon Sep 17 00:00:00 2001 From: Tobin Harding Date: Thu, 3 Feb 2022 08:36:36 +1100 Subject: [PATCH] Fix typo 'epected' -> 'expected' Fix minor spelling mistake in code comments. --- src/key.rs | 4 ++-- src/schnorr.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/key.rs b/src/key.rs index 2ce01ab..bfebe63 100644 --- a/src/key.rs +++ b/src/key.rs @@ -1577,7 +1577,7 @@ mod test { let sk = SecretKey::from_slice(&SK_BYTES).expect("sk"); // In fuzzing mode secret->public key derivation is different, so - // hard-code the epected result. + // hard-code the expected result. #[cfg(not(fuzzing))] let pk = PublicKey::from_secret_key(&s, &sk); #[cfg(fuzzing)] @@ -1861,7 +1861,7 @@ mod test { let sk = SecretKey::from_slice(&SK_BYTES).unwrap(); // In fuzzing mode secret->public key derivation is different, so - // hard-code the epected result. + // hard-code the expected result. #[cfg(not(fuzzing))] let pk = PublicKey::from_secret_key(&s, &sk); #[cfg(fuzzing)] diff --git a/src/schnorr.rs b/src/schnorr.rs index ea536f5..c709573 100644 --- a/src/schnorr.rs +++ b/src/schnorr.rs @@ -470,7 +470,7 @@ mod tests { let kp = KeyPair::from_seckey_slice(&secp, &SK_BYTES).expect("sk"); // In fuzzing mode secret->public key derivation is different, so - // hard-code the epected result. + // hard-code the expected result. kp.public_key() }; #[cfg(fuzzing)]