GuruAtWork
1 min readJan 15, 2018

--

tried this in python 3, anaconda, jupyter notebook.


annaCoin = BlockChain()
class
BlockChain:
3 def __init__(self):
----> 4 self.chain = [self.createGenesisBlock()]
TypeError: Unicode-objects must be encoded before hashing

not expecting the errror to be due to the platform described.
Is it a python 2 vs 3 issue?

--

--

GuruAtWork
GuruAtWork

Written by GuruAtWork

Machine Learning, data analysis and Artificial Intelligence developer.

Responses (1)