Skip to content

Commit 6517190

Browse files
committed
Fixing fuzzy tests
1 parent e551795 commit 6517190

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/key.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ mod test {
668668
let s = Secp256k1::new();
669669
let (sk, _) = s.generate_keypair(&mut DumbRng(0));
670670

671-
#[cfg(feature = "bitcoin_hashes")]
671+
#[cfg(all(feature = "bitcoin_hashes", not(fuzzing)))]
672672
assert_eq!(&format!("{:?}", sk),
673673
"SecretKey(#73e200e2...29d234a4)");
674674
#[cfg(all(not(feature = "bitcoin_hashes"), any(feature = "std", feature = "alloc")))]

0 commit comments

Comments
 (0)