Revert "Fixed Bug #77"

This commit is contained in:
Daniel van Flymen 2018-04-27 01:53:49 -04:00 committed by GitHub
parent 1117ae97fb
commit 79abe7cce6
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