diff --git a/src/util/contracthash.rs b/src/util/contracthash.rs index a215ea85..fa893f2d 100644 --- a/src/util/contracthash.rs +++ b/src/util/contracthash.rs @@ -18,7 +18,7 @@ //! at http://blockstream.com/sidechains.pdf for details of //! what this does. -#![deprecated] +#![cfg_attr(not(test), deprecated)] use secp256k1::{self, Secp256k1}; use PrivateKey;