Merge pull request #95 from dvf/revert-92-master

Revert "Fixed Bug #77"
This commit is contained in:
Daniel van Flymen 2018-04-27 01:54:00 -04:00 committed by GitHub
commit 0d9e27993d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class Blockchain:
return False
# 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
last_block = block