1 macro_rules! hash_to_message {
4 #[cfg(not(feature = "fuzztarget"))]
6 ::secp256k1::Message::from_slice($slice).unwrap()
8 #[cfg(feature = "fuzztarget")]
10 match ::secp256k1::Message::from_slice($slice) {
12 Err(_) => ::secp256k1::Message::from_slice(&[1; 32]).unwrap()