re: Trying to understand blockchain by making one! VIEW POST


Great article! I've been wanting an good intro into block chain and this was perfect. However, when I ran the index.js file, blockchain.getAllBlocks() returned undefined. I got it to work by updating that function to const getAllBlocks = () => blocks.


You are right, I updated the code in the article. Thanks for the catch!

code of conduct - report abuse