mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
adasdasda
This commit is contained in:
parent
daf5089a1a
commit
acf94e1c6c
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ class Blockchain(util.PrintError):
|
||||||
def verify_chunk(self, index: int, data: bytes) -> None:
|
def verify_chunk(self, index: int, data: bytes) -> None:
|
||||||
num = len(data) // HEADER_SIZE
|
num = len(data) // HEADER_SIZE
|
||||||
start_height = index * 2016
|
start_height = index * 2016
|
||||||
header = read_header(start_height)
|
header = self.read_header(start_height)
|
||||||
prev_hash = self.get_hash(start_height - 1)
|
prev_hash = self.get_hash(start_height - 1)
|
||||||
bits, target = self.get_target2(start_height, header)
|
bits, target = self.get_target2(start_height, header)
|
||||||
for i in range(num):
|
for i in range(num):
|
||||||
|
|
Loading…
Add table
Reference in a new issue