Skip to content

feat(abstract-utxo): prefer txHexPsbt over txHex in pending approvals#8661

Merged
OttoAllmendinger merged 1 commit into
masterfrom
BTC-0.pending-approval-use-txHexPsbt
Apr 30, 2026
Merged

feat(abstract-utxo): prefer txHexPsbt over txHex in pending approvals#8661
OttoAllmendinger merged 1 commit into
masterfrom
BTC-0.pending-approval-use-txHexPsbt

Conversation

@OttoAllmendinger
Copy link
Copy Markdown
Contributor

When approving a pending approval, use txHexPsbt (PSBT-lite) over
txHex if present. This preserves richer transaction metadata
(nonWitnessUtxo, redeemScript, BIP-32 paths) that another user's
send already fixed in the correct format.

Regular /tx/build responses continue to use txHex; txHexPsbt only
appears in pending approval coinSpecific data.

Issue: BTC-2650

Co-authored-by: llm-git llm-git@ttll.de

When approving a pending approval, use txHexPsbt (PSBT-lite) over
txHex if present. This preserves richer transaction metadata
(nonWitnessUtxo, redeemScript, BIP-32 paths) that another user's
send already fixed in the correct format.

Regular /tx/build responses continue to use txHex; txHexPsbt only
appears in pending approval coinSpecific data.

Issue: BTC-2650

Co-authored-by: llm-git <llm-git@ttll.de>
@OttoAllmendinger OttoAllmendinger marked this pull request as ready for review April 30, 2026 11:18
@OttoAllmendinger OttoAllmendinger requested review from a team as code owners April 30, 2026 11:18
@OttoAllmendinger OttoAllmendinger merged commit e385447 into master Apr 30, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants