Merges the tapscript signatures of signedTx onto originalTx, in place.
Invariant: both transactions must have the same number of inputs and BOTH
must carry a tapScriptSig on every input — the result is the per-input
concatenation originalTx.tapScriptSig ++ signedTx.tapScriptSig. A missing
signature on either side is rejected with an input-indexed error rather than
silently corrupting the witness (the previous code appended undefined when
signedTx was unsigned). Callers that partially sign must merge only fully
co-signed inputs.
Merges the tapscript signatures of
signedTxontooriginalTx, in place.Invariant: both transactions must have the same number of inputs and BOTH must carry a
tapScriptSigon every input — the result is the per-input concatenationoriginalTx.tapScriptSig ++ signedTx.tapScriptSig. A missing signature on either side is rejected with an input-indexed error rather than silently corrupting the witness (the previous code appendedundefinedwhensignedTxwas unsigned). Callers that partially sign must merge only fully co-signed inputs.