From b55d1db0e20c7d83da806051128f0f00467ea19e Mon Sep 17 00:00:00 2001 From: pythcoiner Date: Thu, 11 Jul 2024 11:01:30 +0200 Subject: [PATCH] coldcard: get the tap_key_sig from the signed tx --- src/coldcard.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/coldcard.rs b/src/coldcard.rs index 81cf92b..5086ddd 100644 --- a/src/coldcard.rs +++ b/src/coldcard.rs @@ -130,7 +130,10 @@ impl HWI for Coldcard { .append(&mut new_psbt.inputs[i].partial_sigs); psbt.inputs[i] .tap_script_sigs - .append(&mut new_psbt.inputs[i].tap_script_sigs) + .append(&mut new_psbt.inputs[i].tap_script_sigs); + if let Some(sig) = new_psbt.inputs[i].tap_key_sig { + psbt.inputs[i].tap_key_sig = Some(sig); + } } Ok(())