Closed ahanikel closed 6 years ago
@ahanikel Thanks for your report. PreviousHash must be in hash calculation. You are welcome to submit PR with this edit.
Ok, done. Thanks a lot for your work, I'm sure many people (including myself) benefit from it!
I'm sorry in advance if I'm wrong, but don't you also need to add
self.previousHash
tohashData
at https://github.com/daxeel/blockshell/blob/6aa5eec11aa107f754e2abdc86e79c4249578c2c/blockchain/chain.py#L19 ?