-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Hello,
I read the extremely interesting part 1 on
https://www.pyscoop.com/building-a-simple-blockchain-in-python/
I tried to get a bit of hands on by running the given example..
An error was generated Which I think is related to the absence of the genesis block.
However I could not get to generate this 'genesis block'.
So not an issue just my dumb self. But nevertheless a feedback.
Again thank you very much for all these great explanations.
Olivier
Before Mining...
[]
Traceback (most recent call last):
File "C:\Users***********\Desktop\temp.py", line 94, in
last_block = blockchain.get_last_block
File "C:\Users***************\Desktop\temp.py", line 42, in get_last_block
return self.chain[-1]
IndexError: list index out of range
Metadata
Metadata
Assignees
Labels
No labels