Fix warning about deprecated method use

This commit is contained in:
Dr Maxim Orlovsky 2022-01-07 21:44:57 +01:00
parent f39b1300fa
commit 7405836411
1 changed files with 1 additions and 1 deletions

View File

@ -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,