You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.hex() alias unavailable in all versions of Python3
File "/opt/local/electrum-btcp-P-1.1.1/lib/bitcoin.py", line 259, in <lambda>
hash_to_str = lambda x: bytes(reversed(x)).hex()
AttributeError: 'bytes' object has no attribute 'hex'
Call chain is /usr/lib/python3.4/threading.py->electrum-btcp-P-1.1.1/lib/network.py->electrum-btcp-P-1.1.1/lib/blockchain.py->electrum-btcp-P-1.1.1/lib/bitcoin.py
For compatibility of all Python3 (3.2, 3.4, 3.6) commonly used on Debian and Ubuntu in last couple of years, better to use binascii rather than rely on the hex() alias
( Last link mentions the hex() alias being reintroduced again, but local install support may be patchy depending on point release of Python 3 in installed standard system libraries )
Not sure what other local blockchain/btcp issues this would cause, if the hex() has failed because of user version of Python 3 running at the time.
.hex() alias unavailable in all versions of Python3
Call chain is /usr/lib/python3.4/threading.py->electrum-btcp-P-1.1.1/lib/network.py->electrum-btcp-P-1.1.1/lib/blockchain.py->electrum-btcp-P-1.1.1/lib/bitcoin.py
For compatibility of all Python3 (3.2, 3.4, 3.6) commonly used on Debian and Ubuntu in last couple of years, better to use binascii rather than rely on the hex() alias
( Last link mentions the hex() alias being reintroduced again, but local install support may be patchy depending on point release of Python 3 in installed standard system libraries )
Not sure what other local blockchain/btcp issues this would cause, if the hex() has failed because of user version of Python 3 running at the time.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: