We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
isinstance
This code returns that the pk is not an instance of PrivateKey. It should return True
pk
PrivateKey
True
In [141]: from eth_keys import keys In [142]: pk = keys.PrivateKey(b'\x01' * 32) In [143]: isinstance(pk, keys.PrivateKey) Out[143]: False
Need to un-tangle the dynamic class generation that occurs in the backends in such a way that we still get a friendly backend API.
The text was updated successfully, but these errors were encountered:
Merge pull request ethereum#26 from pipermerriam/piper/update-to-nati…
81af1b6
…ve-pypy-markdown-support switch to native pypy markdown support
Successfully merging a pull request may close this issue.
What was wrong?
This code returns that the
pk
is not an instance ofPrivateKey
. It should returnTrue
How can it be fixed?
Need to un-tangle the dynamic class generation that occurs in the backends in such a way that we still get a friendly backend API.
The text was updated successfully, but these errors were encountered: