iexbase / tron-api-python

A Python API for interacting with Tron (TRX)
https://tronapi-for-python.readthedocs.io
MIT License
165 stars 82 forks source link

ValueError: non-hexadecimal number found in fromhex() arg at position 1 #100

Open Bakteriachan opened 1 year ago

Bakteriachan commented 1 year ago

When using isAddress method to verify a wallet, it does not accept Hexadecimal wallets starting with 0x, this error raises in trx_utils/address.py line 24 which uses bytes.fromhex which does not accept 0x-starting hexadecimal values