Savjee / SavjeeCoin

A simple blockchain in Javascript. For educational purposes only.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[DELETE ME,PLEASE] isChainValid should check that previousHash matches the hash of its previous block?

ilcasinistareloaded opened this issue · comments

[DELETE ME,PLEASE] Hello again, maybe it is not an issue and I'm missing something, but shouldn't method isChainValid also check that for each block in the chain its Block.previousHash actually match the Block.hash of its previous block? Great work, again.
[RESENT BY MISTAKE - SLOW CONNECTION, APOLOGIES]