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(python): use unified descriptor format <a;b> #1885

Merged
merged 2 commits into from
Nov 4, 2021
Merged

Conversation

prusnak
Copy link
Member

@prusnak prusnak commented Nov 2, 2021

use unified descriptor format introduced in bitcoin/bitcoin#22838

@prusnak prusnak requested a review from matejcik as a code owner November 2, 2021 13:13
@prusnak prusnak force-pushed the unified-descriptors branch 2 times, most recently from 2755f4a to 21521d4 Compare November 2, 2021 14:18
@matejcik
Copy link
Contributor

matejcik commented Nov 2, 2021

please add changelog entry. in python/ directory, towncrier create 1885.changed --edit

@prusnak prusnak force-pushed the unified-descriptors branch from 21521d4 to 5dc60b3 Compare November 2, 2021 14:24
@prusnak
Copy link
Member Author

prusnak commented Nov 2, 2021

please add changelog entry.

Added in 5dc60b3

ds = _get_descriptor(client, coin, account, script_type, show_display)
for d in ds:
click.echo(d)
d = _get_descriptor(client, coin, account, script_type, show_display)
Copy link
Contributor

Choose a reason for hiding this comment

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

fwiw you can just return _get_descriptor(...) instead of echoing it

@matejcik
Copy link
Contributor

matejcik commented Nov 4, 2021

you need to re-run UI tests because the testcase identifiers have changed.

@prusnak
Copy link
Member Author

prusnak commented Nov 4, 2021

Review addressed in a86eb3a

@matejcik
Copy link
Contributor

matejcik commented Nov 4, 2021

👍 please squash the fixup and merge

@prusnak prusnak merged commit 0068c12 into master Nov 4, 2021
@prusnak prusnak deleted the unified-descriptors branch November 4, 2021 09:36
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