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