Revert "Fixed Bug #77"
This commit is contained in:
parent
1117ae97fb
commit
79abe7cce6
|
@ -55,7 +55,7 @@ class Blockchain:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# Check that the Proof of Work is correct
|
# Check that the Proof of Work is correct
|
||||||
if not self.valid_proof(last_block['proof'], block['proof'], block['previous_hash']):
|
if not self.valid_proof(last_block['proof'], block['proof'], last_block['previous_hash']):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
last_block = block
|
last_block = block
|
||||||
|
|
Loading…
Reference in New Issue