DEV Community

Discussion on: Building a Blockchain in Go PT: I - The Hello World of Blockchains

Collapse
 
sonic0588 profile image
Eugeniy Orlov

Hi, Noah

Thank you for the article. I noticed that "Previous hash" field is empty in the last picture. I think it might relate to mistyping in the CreateBlock function from a previous comment because Previous hash was assigned as a hash of the genesis block.

Thread Thread
 
nheindev profile image
Noah Hein

That is correct. That's why the Prev hash field is blank on ALL of them. It should only be on the first block. As you move forward in the series this issue is rectified.