Closed ilcasinistareloaded closed 3 years ago
It should, yes!
Can you submit a pull request for this?
Oh, thanks for the offer but I don't know JavaScript; I translated it in a functional language to make it easier to understand (that's the reason of my odd second question in my previous issue: poor understanding of js). So, sorry but I can't help. Thanks for the quick reply!
This has been fixed by @jhonderson
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 itsBlock.previousHash
actually match theBlock.hash
of its previous block? Great work, again.