Skip to content

Commit 14b9291

Browse files
committed
Use to_keypair
Remove the deprecated call to `to_inner` and use the suggested `to_keypair` function.
1 parent 018926c commit 14b9291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoind-tests/tests/test_desc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ pub fn test_desc_satisfy(
177177
let mut aux_rand = [0u8; 32];
178178
rand::thread_rng().fill_bytes(&mut aux_rand);
179179
let schnorr_sig =
180-
secp.sign_schnorr_with_aux_rand(&msg, &internal_keypair.to_inner(), &aux_rand);
180+
secp.sign_schnorr_with_aux_rand(&msg, &internal_keypair.to_keypair(), &aux_rand);
181181
psbt.inputs[0].tap_key_sig =
182182
Some(taproot::Signature { signature: schnorr_sig, sighash_type });
183183
} else {

0 commit comments

Comments
 (0)