ivilata / pymultihash

Python implementation of the multihash specification
19 stars 8 forks source link

TypeError: string argument without an encoding #1

Closed TimDaub closed 8 years ago

TimDaub commented 8 years ago

multihash.digest(data.encode(), 'sha3_256').encode('base58')

throws the error:

TypeError: string argument without an encoding

in this line: https://github.com/ivilata/pymultihash/blob/devel/multihash/codecs.py#L51

ivilata commented 8 years ago

Thanks for reporting this, I left some comments in #2.