From 7405836411130255a4148b31789f95e50c19c3b4 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Fri, 7 Jan 2022 21:44:57 +0100 Subject: [PATCH] Fix warning about deprecated method use --- src/util/misc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/misc.rs b/src/util/misc.rs index 5bcfb3fa..0c3ef086 100644 --- a/src/util/misc.rs +++ b/src/util/misc.rs @@ -320,7 +320,7 @@ mod tests { let msg = secp256k1::Message::from_slice(&msg_hash).unwrap(); let privkey = secp256k1::SecretKey::new(&mut secp256k1::rand::thread_rng()); - let secp_sig = secp.sign_recoverable(&msg, &privkey); + let secp_sig = secp.sign_ecdsa_recoverable(&msg, &privkey); let signature = super::MessageSignature { signature: secp_sig, compressed: true,