Fix typo 'epected' -> 'expected'
Fix minor spelling mistake in code comments.
This commit is contained in:
parent
f3688ecf56
commit
c30026d08b
|
@ -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)]
|
||||
|
|
|
@ -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)]
|
||||
|
|
Loading…
Reference in New Issue