Skip to content

Commit dd31471

Browse files
committed
fix: swap to_inner() for to_keypair()
1 parent 80c2752 commit dd31471

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wallet/src/wallet/signer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ fn sign_psbt_schnorr(
577577
let keypair = match leaf_hash {
578578
None => keypair
579579
.tap_tweak(secp, psbt_input.tap_merkle_root)
580-
.to_inner(),
580+
.to_keypair(),
581581
Some(_) => keypair, // no tweak for script spend
582582
};
583583

0 commit comments

Comments
 (0)