Merge pull request #95 from dvf/revert-92-master
Revert "Fixed Bug #77"
This commit is contained in:
commit
0d9e27993d
|
@ -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