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

Wrong doc for creating Keypair #758

Open
jonasnick opened this issue Oct 28, 2024 · 0 comments
Open

Wrong doc for creating Keypair #758

jonasnick opened this issue Oct 28, 2024 · 0 comments

Comments

@jonasnick
Copy link
Collaborator

The docs for from_seckey_slice, from_seckey_str and from_seckey_str_global state that the functions fail if the "the corresponding public key is not even". I don't see why that would be true. The underlying C-function secp256k1_keypair_create does not fail in that case.

Discovered by @uncomputable

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

No branches or pull requests

1 participant