Is chain valid? false
Berk2007 opened this issue · 3 comments
Berk2007 commented
Savjee commented
Hi,
Did you write the code yourself or did you clone this repository?
I can't replicate this issue with the code in this repo.
ange47rm commented
Hi,
I had the same issue. I found my isChainValid() method was slightly different from the one in this repo. Once I copied isChainValid() from this repo, the issue was fixed. Also make sure that in minePendingTransactions(), when you create the new Block, it adds a hash value to it.
Savjee commented
Thanks for letting us know!
Closing this issue for now.