Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix decoding of WIF with BIP32 origin #753

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

shesek
Copy link
Contributor

@shesek shesek commented Oct 14, 2024

A small fix for a small oversight.

The test has to pattern match the inner SinglePriv because there's no other way to get derivation path (no full_derivation_path(s) method like DescriptorPublicKey has, which would be nice to have ^.^)

@shesek shesek force-pushed the 202410-fix-wif-fromstr branch from 6e4d0ed to aa218ef Compare October 14, 2024 02:43
@shesek shesek force-pushed the 202410-fix-wif-fromstr branch from aa218ef to 9416098 Compare October 14, 2024 02:45
Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

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

ACK 9416098 successfully ran local tests; good catch!

@apoelstra apoelstra merged commit 1e40a8d into rust-bitcoin:master Oct 14, 2024
29 of 30 checks passed
shesek added a commit to shesek/minsc that referenced this pull request Oct 17, 2024
This uncovered a bug in rust-miniscript causing the origin information
to be lost, so it will not actually work until the fix is merged:
rust-bitcoin/rust-miniscript#753
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