satwikkansal / python_blockchain_app

A fully functional blockchain application implemented in Python from scratch (with tutorial).
824 stars 472 forks source link

check_chain_validity "block has no attribute hash" error fix #2

Closed chamamme closed 6 years ago

chamamme commented 6 years ago

block.hash was called after it has been deleted from the Block object it is good to use the block_hash variable instead. Thank You