Skip to content

Context-infra-TEST: fix(abstract-utxo): align descriptor parse with multisig self-payment flow#8396

Closed
gobi-wan-kenobi wants to merge 1 commit intomasterfrom
vl-5164-mpc-intent-verification-self-payments
Closed

Context-infra-TEST: fix(abstract-utxo): align descriptor parse with multisig self-payment flow#8396
gobi-wan-kenobi wants to merge 1 commit intomasterfrom
vl-5164-mpc-intent-verification-self-payments

Conversation

@gobi-wan-kenobi
Copy link
Copy Markdown

Summary

  • Fixes self-payment verification failure in the MPC/descriptor wallet flow where outputs going to the sender's own wallet address were incorrectly r

… flow

Use a two-pass approach in parseOutputsWithPsbt to handle self-payments:
- Pass 1 (missing): check ALL outputs (including change/internal) against
  expected recipients so self-payments are not reported as missing
- Pass 2 (implicit): only flag EXTERNAL outputs (scriptId=undefined) not
  in the recipient list as implicit

Also adds isImplicitOutput helper to outputDifference.ts and tests for
both the helper and the self-payment scenarios.

Ticket: VL-5164
@linear
Copy link
Copy Markdown

linear bot commented Apr 2, 2026

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.

1 participant