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;