keis / base58

Base58 and Base58Check implementation compatible with what is used by the bitcoin network.
MIT License
180 stars 59 forks source link

Decode fail #35

Closed prographo closed 5 years ago

prographo commented 5 years ago

import base58 base58.b58decode(b'0e8b9df6a54271ad7e8ec9b58175546d27cbd5c9589ae0683b986b4d484b0b06') Traceback (most recent call last): File "", line 1, in File "base58.py", line 96, in b58decode acc = b58decode_int(v) File "base58.py", line 83, in b58decode_int decimal = decimal * 58 + alphabet.index(char) ValueError: substring not found