From 3564e9a63ee246c741720014464bfe72a4bc05bb Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 12 Jul 2024 15:30:16 +1000 Subject: [PATCH] bitcoind-tests: Remove borrow Do as clippy says, remove the borrow. --- bitcoind-tests/tests/setup/test_util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);