From 05f3451b108c5fdec518c0a54d6ebace07990e3c Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Thu, 10 Sep 2020 16:40:31 +0000 Subject: [PATCH] un-deperate contracthash during testing Avoids a rust test runner bug, see https://github.com/rust-lang/rust/issues/47238 --- src/util/contracthash.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;