adasdasda

This commit is contained in:
Thomas Zarebczan 2018-11-16 18:54:24 -05:00
parent daf5089a1a
commit acf94e1c6c

View file

@ -227,7 +227,7 @@ class Blockchain(util.PrintError):
def verify_chunk(self, index: int, data: bytes) -> None:
num = len(data) // HEADER_SIZE
start_height = index * 2016
header = read_header(start_height)
header = self.read_header(start_height)
prev_hash = self.get_hash(start_height - 1)
bits, target = self.get_target2(start_height, header)
for i in range(num):