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

descriptor: drop to_string_no_chksum method #86

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

apoelstra
Copy link
Member

This method has been made redundant by the {:#} display specifier since 7577e8c two years ago. It is poorly named, inefficient since it always requires allocating a String, and also broken because it uses debug display for keys.

All of our unit tests were converted over to use :# which is why it wasn't noticed that this method didn't work.

Fixes #34
Fixes #85

This method has been made redundant by the `{:#}` display specifier
since 7577e8c two years ago. It is
poorly named, inefficient since it always requires allocating a
`String`, and also broken because it uses debug display for keys.

All of our unit tests were converted over to use :# which is why it
wasn't noticed that this method didn't work.

Fixes ElementsProject#34
Fixes ElementsProject#85
Copy link
Member

@delta1 delta1 left a comment

Choose a reason for hiding this comment

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

ACK e28d6d4

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 e28d6d4

@RCasatta
Copy link
Collaborator

@apoelstra I can't merge here

@apoelstra apoelstra merged commit f77fa62 into ElementsProject:master Sep 24, 2024
17 checks passed
@apoelstra apoelstra deleted the 2024-06--checksum branch September 24, 2024 16:04
@apoelstra
Copy link
Member Author

Added your ability to merge. Merged this after testing merge commit. There are linter failures on master right now which I'll fix in another PR (for now I disabled the doc lints for my local tests).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants