From 4696cbdb086ef2bd95bc4b065068a87a7b37a9f4 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Mon, 13 May 2024 04:15:07 -0400 Subject: [PATCH] Correct tests I forgot to run check with --all-targets --- src/coins/btc/host.rs | 2 +- src/tests/secp_dl_eq.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coins/btc/host.rs b/src/coins/btc/host.rs index 1c8794a..22f4109 100644 --- a/src/coins/btc/host.rs +++ b/src/coins/btc/host.rs @@ -564,7 +564,7 @@ impl ScriptedHost for BtcHost { &bitcoin::util::key::PrivateKey { compressed: true, network: NETWORK, - key: secp256k1::SecretKey::from_slice( + inner: secp256k1::SecretKey::from_slice( &Secp256k1Engine::private_key_to_bytes( &Secp256k1Engine::new_private_key() ) diff --git a/src/tests/secp_dl_eq.rs b/src/tests/secp_dl_eq.rs index d25c85e..db20162 100644 --- a/src/tests/secp_dl_eq.rs +++ b/src/tests/secp_dl_eq.rs @@ -1,4 +1,4 @@ -use rand::rngs::OsRng; +use rand_8::rngs::OsRng; use secp256kfun::{marker::*, Scalar, G, g}; use crate::crypt_engines::secp256k1_engine::SecpDleqProof;