cosme12 / SimpleCoin

Just a really simple, insecure and incomplete implementation of a blockchain for a cryptocurrency made in Python as educational material. In other words, a simple Bitcoin clone.
http://copitosystem.com
MIT License
1.78k stars 397 forks source link

Update miner.py #39

Open tabVersion opened 6 years ago

tabVersion commented 6 years ago

there is something wrong the error is TypeError: the JSON object must be str, not 'bytes' the solution is from stackoverflow

https://stackoverflow.com/questions/42683478/typeerror-the-json-object-must-be-str-not-bytes

HourGlss commented 5 years ago

This does not fix my issue

HourGlss commented 5 years ago

It's a problem with putting some ECDSA keys. Just make sure that there's no "+" in either the public or public key... works fine for me now. I don't know you "shortened" the key

ikebo commented 5 years ago

same issue here, is there anyone to merge?