This repository has been archived by the owner on Jan 22, 2020. It is now read-only.
When testing the Blockchain class, make sure the addBlock method correctly adds previousHash to the added block #96
Labels
bug
Something isn't working
The
addBlock
method of the Blockchain class should pass the correctpreviousHash
to the newly added block. This is not currently checked in the tests for the Blockchain class. So when I made the following typo:the tests didn’t catch that (although later tests did).
The text was updated successfully, but these errors were encountered: