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

Improve witness display #2035

Merged

Conversation

tcharding
Copy link
Member

@tcharding tcharding commented Aug 28, 2023

Recently we "if" guarded subtraction manually using > 0, we can better convey the meaning by using checked_sub and pattern match on the option.

Refactor only, no logic changes.

@tcharding
Copy link
Member Author

Needs #2036

Recently we "if" guarded subtraction manually using `> 0`, we can better
convey the meaning by using `checked_sub` and pattern match on the
option.

Refactor only, no logic changes.
@tcharding tcharding force-pushed the 08-29-improve-witness-display branch from d4fb460 to de95bf5 Compare August 31, 2023 03:11
Copy link
Collaborator

@RCasatta RCasatta left a comment

Choose a reason for hiding this comment

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

utACK de95bf5

@RCasatta RCasatta added the one ack PRs that have one ACK, so one more can progress them label Aug 31, 2023
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 de95bf5

@apoelstra apoelstra merged commit 7022302 into rust-bitcoin:master Sep 5, 2023
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
one ack PRs that have one ACK, so one more can progress them
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants