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

Bug in secp256k1 PublicKey constructor #805

Open
afk11 opened this issue Oct 22, 2019 · 0 comments · May be fixed by #827
Open

Bug in secp256k1 PublicKey constructor #805

afk11 opened this issue Oct 22, 2019 · 0 comments · May be fixed by #827

Comments

@afk11
Copy link
Member

afk11 commented Oct 22, 2019

!get_resource_type($secp256k1_pubkey_t) === SECP256K1_TYPE_PUBKEY) {

The negation is performed on the result of get_resource_type($pubkey), not get_resource_type($pubkey) == ...

afk11 added a commit to afk11/bitcoin-php that referenced this issue Dec 11, 2019
@afk11 afk11 linked a pull request Dec 11, 2019 that will close this issue
afk11 added a commit to afk11/bitcoin-php that referenced this issue Dec 11, 2019
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 a pull request may close this issue.

1 participant