diff --git a/bitcoind-tests/tests/setup/test_util.rs b/bitcoind-tests/tests/setup/test_util.rs index e3f2d3c9d..ffffe661c 100644 --- a/bitcoind-tests/tests/setup/test_util.rs +++ b/bitcoind-tests/tests/setup/test_util.rs @@ -87,7 +87,7 @@ fn setup_keys( let mut x_only_pks = vec![]; for sk in &sks { - let keypair = bitcoin::secp256k1::Keypair::from_secret_key(&secp_sign, &sk); + let keypair = bitcoin::secp256k1::Keypair::from_secret_key(&secp_sign, sk); let (xpk, _parity) = XOnlyPublicKey::from_keypair(&keypair); x_only_keypairs.push(keypair); x_only_pks.push(xpk);