We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed2fa68 commit b95b503Copy full SHA for b95b503
bitcoind-tests/tests/setup/test_util.rs
@@ -87,7 +87,7 @@ fn setup_keys(
87
let mut x_only_pks = vec![];
88
89
for sk in &sks {
90
- let keypair = bitcoin::secp256k1::Keypair::from_secret_key(&secp_sign, &sk);
+ let keypair = bitcoin::secp256k1::Keypair::from_secret_key(&secp_sign, sk);
91
let (xpk, _parity) = XOnlyPublicKey::from_keypair(&keypair);
92
x_only_keypairs.push(keypair);
93
x_only_pks.push(xpk);
0 commit comments