Fix proof of work assert in verify_chunk

This commit is contained in:
Kirill Fomichev 2015-11-19 18:40:54 +03:00
parent b727824eed
commit e188929972
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class Blockchain(util.PrintError):
_hash = self.hash_header(header)
assert previous_hash == header.get('prev_block_hash')
assert bits == header.get('bits')
assert int('0x'+_hash,16) < target
assert int('0x'+_hash,16) <= target
previous_header = header
previous_hash = _hash