Skip to content

feat(taproot): support parsing taproot output address types#2423

Merged
shamardy merged 1 commit intodevfrom
taproot-minimal-support
Apr 22, 2025
Merged

feat(taproot): support parsing taproot output address types#2423
shamardy merged 1 commit intodevfrom
taproot-minimal-support

Conversation

@mariocynicys
Copy link
Copy Markdown
Collaborator

Read the issue and the error log in #2422 for context.

Basically, calls to blockchain.transaction.get to electrum RPC fail when at least one of the outputs is a taproot output (even if not ours, as this is related to parsing the tx).

This PR makes it so we don't fail parsing such output type. The taproot output type is parsed and just passed through without reading the scriptPubKey (just like nonstandard scripts). No internal address representation is created for it either, and it's not checked whether it's owned by us etc...

This PR minimally fixes #2422 (since we are not interested in storing nor spending taproot outputs).

@mariocynicys mariocynicys added status: pending review priority: medium Moderately important tasks that should be completed but are not urgent. bug: wallet labels Apr 22, 2025
Copy link
Copy Markdown
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for finding the problem and fixing it

@shamardy shamardy merged commit 600ea71 into dev Apr 22, 2025
27 of 28 checks passed
@shamardy shamardy deleted the taproot-minimal-support branch April 22, 2025 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: wallet priority: medium Moderately important tasks that should be completed but are not urgent. status: pending review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants