Merge pull request #92 from pryanshuarora/master

Fixed Bug #77
This commit is contained in:
Daniel van Flymen 2018-04-27 01:52:04 -04:00 committed by GitHub
commit 1117ae97fb
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'], last_block['previous_hash']):
if not self.valid_proof(last_block['proof'], block['proof'], block['previous_hash']):
return False
last_block = block