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: BCH's Pubkey/Schnorr signature detection in inputs #395

Merged
merged 1 commit into from
Apr 15, 2020

Conversation

maltemoeser
Copy link
Member

BREAKING CHANGE: Reparsing existing BCH parsings is strongly recommended.

This fixes that BCH's new Schnorr signatures are erroneously detected as public keys because both can have a length of 65 bytes.

Based on mplattner@910dade

@maltemoeser
Copy link
Member Author

Laut integrity check ist das parsing mit meinem patch identisch zu deinem: https://gist.github.com/maltemoeser/82810ee894ac7d40d8a0912591f3fb4d

BREAKING CHANGE: Reparsing existing BCH parsings is strongly recommended.

This fixes that BCH's new Schnorr signatures are erroneously detected as public keys because both can have a length of 65 bytes.

Based on mplattner@910dade
Copy link
Collaborator

@mplattner mplattner left a comment

Choose a reason for hiding this comment

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

Looks good to me, can be merged.

@maltemoeser maltemoeser merged commit abaaea0 into citp:v0.6 Apr 15, 2020
@maltemoeser maltemoeser deleted the fix/schnorr-signature-handling branch April 15, 2020 12:46
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