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.
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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
That is correct, it looks like I mistyped that! Right now it is prevBlock.prevHash, when the correct one would be what you mentioned: prevBlock.Hash
Nice catch 🙏
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.
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.