Skip to content

Commit b95b503

Browse files
committed
bitcoind-tests: Remove borrow
Do as clippy says, remove the borrow.
1 parent ed2fa68 commit b95b503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoind-tests/tests/setup/test_util.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ fn setup_keys(
8787
let mut x_only_pks = vec![];
8888

8989
for sk in &sks {
90-
let keypair = bitcoin::secp256k1::Keypair::from_secret_key(&secp_sign, &sk);
90+
let keypair = bitcoin::secp256k1::Keypair::from_secret_key(&secp_sign, sk);
9191
let (xpk, _parity) = XOnlyPublicKey::from_keypair(&keypair);
9292
x_only_keypairs.push(keypair);
9393
x_only_pks.push(xpk);

0 commit comments

Comments
 (0)