Skip to content

Change options to result in all APIs #217

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

Merged
merged 1 commit into from
Jan 3, 2021

Conversation

sanket1729
Copy link
Member

@sanket1729 sanket1729 commented Jan 3, 2021

Build on top of 216. Will rebase after #216 is merged.
Ready for review

@sanket1729 sanket1729 changed the title descriptor: add infallible variant of translate_pk DO NOT MERGE: Change options to result in all APIs Jan 3, 2021
@sanket1729 sanket1729 changed the title DO NOT MERGE: Change options to result in all APIs Change options to result in all APIs Jan 3, 2021
@sanket1729 sanket1729 marked this pull request as ready for review January 3, 2021 05:12
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 e340ad8

Checked that all of the remaining Option returns appear to be legitimately options.

bare.address(bitcoin::Network::Bitcoin)
.unwrap_err()
.to_string(),
"Bare descriptors don't have address"
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe comparing to Error::BareDescriptorAddr.to_string() is slightly better than repeating the string

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.

3 participants