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

error miner.py #27

Closed ghost closed 6 years ago

ghost commented 6 years ago

i have this error when i run miner.py: rocess Process-1: Traceback (most recent call last): File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run self._target(*self._args, **self._kwargs) File "miner.py", line 97, in mine last_block = BLOCKCHAIN[len(BLOCKCHAIN) - 1] TypeError: object of type 'bool' has no len()

rokasbalsys commented 6 years ago

I am receiving same errors, don't know how to fix them

cosme12 commented 6 years ago

It should be fixed now. Sorry for the delay.