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
Works on python2:
bitcoin.ecdsa_verify_addr("a", "HAxTs/0PxPTCUVs7i0vWkaNtVAngQgHfJygNu9tfPna1Z5piImtwpr1XfTu7znc0g2m8uTDHcLu0JJFrwq5OqLM=", "1R7xTYaXV4pwsjnd8wjnx4LPoS2JAbQFm") returns False
bitcoin.ecdsa_verify_addr("a", "HAxTs/0PxPTCUVs7i0vWkaNtVAngQgHfJygNu9tfPna1Z5piImtwpr1XfTu7znc0g2m8uTDHcLu0JJFrwq5OqLM=", "1R7xTYaXV4pwsjnd8wjnx4LPoS2JAbQFm")
False
But on python3, I get:
TypeError: ord() expected string of length 1, but int found
The text was updated successfully, but these errors were encountered:
You can fix it by yourself like this:
.../lib/python3.7/site-packages/bitcoin/main.py:435
435 return ord(data[0])
change to:
435 if type(data[0]) is int: 436 return data[0] 437 else: 438 return ord(data[0])
Sorry, something went wrong.
No branches or pull requests
Works on python2:
bitcoin.ecdsa_verify_addr("a", "HAxTs/0PxPTCUVs7i0vWkaNtVAngQgHfJygNu9tfPna1Z5piImtwpr1XfTu7znc0g2m8uTDHcLu0JJFrwq5OqLM=", "1R7xTYaXV4pwsjnd8wjnx4LPoS2JAbQFm")
returns
False
But on python3, I get:
TypeError: ord() expected string of length 1, but int found
The text was updated successfully, but these errors were encountered: