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");
|
let sk = SecretKey::from_slice(&SK_BYTES).expect("sk");
|
||||||
|
|
||||||
// In fuzzing mode secret->public key derivation is different, so
|
// In fuzzing mode secret->public key derivation is different, so
|
||||||
// hard-code the epected result.
|
// hard-code the expected result.
|
||||||
#[cfg(not(fuzzing))]
|
#[cfg(not(fuzzing))]
|
||||||
let pk = PublicKey::from_secret_key(&s, &sk);
|
let pk = PublicKey::from_secret_key(&s, &sk);
|
||||||
#[cfg(fuzzing)]
|
#[cfg(fuzzing)]
|
||||||
|
@ -1861,7 +1861,7 @@ mod test {
|
||||||
let sk = SecretKey::from_slice(&SK_BYTES).unwrap();
|
let sk = SecretKey::from_slice(&SK_BYTES).unwrap();
|
||||||
|
|
||||||
// In fuzzing mode secret->public key derivation is different, so
|
// In fuzzing mode secret->public key derivation is different, so
|
||||||
// hard-code the epected result.
|
// hard-code the expected result.
|
||||||
#[cfg(not(fuzzing))]
|
#[cfg(not(fuzzing))]
|
||||||
let pk = PublicKey::from_secret_key(&s, &sk);
|
let pk = PublicKey::from_secret_key(&s, &sk);
|
||||||
#[cfg(fuzzing)]
|
#[cfg(fuzzing)]
|
||||||
|
|
|
@ -470,7 +470,7 @@ mod tests {
|
||||||
let kp = KeyPair::from_seckey_slice(&secp, &SK_BYTES).expect("sk");
|
let kp = KeyPair::from_seckey_slice(&secp, &SK_BYTES).expect("sk");
|
||||||
|
|
||||||
// In fuzzing mode secret->public key derivation is different, so
|
// In fuzzing mode secret->public key derivation is different, so
|
||||||
// hard-code the epected result.
|
// hard-code the expected result.
|
||||||
kp.public_key()
|
kp.public_key()
|
||||||
};
|
};
|
||||||
#[cfg(fuzzing)]
|
#[cfg(fuzzing)]
|
||||||
|
|
Loading…
Reference in New Issue