1200wd / bitcoinlib

Bitcoin and other Cryptocurrencies Library for Python. Includes a fully functional wallet, Mnemonic key generation and management and connection with various service providers to receive and send blockchain and transaction information.
http://bitcoinlib.readthedocs.io/
GNU General Public License v3.0
615 stars 204 forks source link

public_key is str #262

Closed afinoti closed 2 years ago

afinoti commented 2 years ago

It seems that public_key is always str and .hex() only works for bytes.

mccwdev commented 2 years ago

The public_key should always be in bytes format, I see it is not, but I think it should be fixed in other places.

I will take a look.