Skip to content

fix: Payjoin receiver skips UIH2 avoidance, always contributes unspent[0] - #3304

Merged
OmarHatem28 merged 2 commits into
cake-tech:devfrom
bc1cindy:payjoin-receiver-uih2-avoidance
Jun 18, 2026
Merged

OmarHatem28 merged 2 commits into
cake-tech:devfrom
bc1cindy:payjoin-receiver-uih2-avoidance

Conversation

@bc1cindy

@bc1cindy bc1cindy commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Closes #3303

The payjoin receiver contributed unspent[0] directly, skipping tryPreservingPrivacy. Now it builds input pairs from all candidate UTXOs and lets the selector pick one that avoids UIH2, falling back to the first candidate if the call fails.

ref: payjoin/rust-payjoin#1597 (comment)

@OmarHatem28
OmarHatem28 merged commit 874d724 into cake-tech:dev Jun 18, 2026
5 of 6 checks passed
@OmarHatem28

Copy link
Copy Markdown
Contributor

Thank you for noticing and making a quick fix 🙏

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.

Payjoin receiver skips UIH2 avoidance, always contributes unspent[0]

3 participants