Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very Enlightening but could not get it going.. #3

Open
ipapop opened this issue Dec 1, 2019 · 0 comments
Open

Very Enlightening but could not get it going.. #3

ipapop opened this issue Dec 1, 2019 · 0 comments

Comments

@ipapop
Copy link

ipapop commented Dec 1, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant