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

Namespace Issue #118

Open
droplister opened this issue Oct 3, 2018 · 3 comments
Open

Namespace Issue #118

droplister opened this issue Oct 3, 2018 · 3 comments

Comments

@droplister
Copy link

I get this error when using verifyMessage on 1.1.0. Looks like the namespacing has changed.

Argument 5 passed to BitWasp\BitcoinLib\BitcoinLib::recoverPubKey() must be an instance of Mdanter\Ecc\GeneratorPoint, instance of Mdanter\Ecc\Primitives\GeneratorPoint given, called in /home/forge/bitcorns.com/releases/20181003123600/vendor/bitwasp/bitcoin-lib/src/BitcoinLib.php on line 1005
@afk11
Copy link
Member

afk11 commented Oct 4, 2018

Err, probably a version constraint somewhere didn't follow semver. Try fixing the mdanter/ecc version to something low, 0.2.x or 0.3.x?

If you've only found this library now, you should drop this and use http://github.com/bit-wasp/bitcoin-php

@droplister
Copy link
Author

I am using this repo just for verifyMessage, I couldn't find that as a feature of bitcoin-php.

@afk11
Copy link
Member

afk11 commented Oct 10, 2018

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

2 participants