BIP376: keep PSBT_IN_WITNESS_UTXO after finalization

This commit is contained in:
BitsagaRob committed 2026-09-04 09:01:55 +00:00
1 parent 09e21036a4
commit c8cbc9804e
1 file changed
+1 -1
+1 -1
View File
@@ -110,7 +110,7 @@ The Input Finalizer MUST verify that a <tt>PSBT_IN_TAP_KEY_SIG</tt> field is pre
The Input Finalizer MUST construct the <tt>PSBT_IN_FINAL_SCRIPTWITNESS</tt> containing the single witness element from <tt>PSBT_IN_TAP_KEY_SIG</tt>, as per the BIP 341 key path spending rule. The Input Finalizer MUST construct the <tt>PSBT_IN_FINAL_SCRIPTWITNESS</tt> containing the single witness element from <tt>PSBT_IN_TAP_KEY_SIG</tt>, as per the BIP 341 key path spending rule.
The Input Finalizer MUST remove the <tt>PSBT_IN_SP_TWEAK</tt>, <tt>PSBT_IN_SP_SPEND_BIP32_DERIVATION</tt>, <tt>PSBT_IN_TAP_KEY_SIG</tt>, and <tt>PSBT_IN_WITNESS_UTXO</tt> fields for any input where the <tt>PSBT_IN_FINAL_SCRIPTWITNESS</tt> is present. The Input Finalizer MUST remove the <tt>PSBT_IN_SP_TWEAK</tt>, <tt>PSBT_IN_SP_SPEND_BIP32_DERIVATION</tt>, and <tt>PSBT_IN_TAP_KEY_SIG</tt> fields for any input where the <tt>PSBT_IN_FINAL_SCRIPTWITNESS</tt> is present.
== Rationale == == Rationale ==