mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
sadasdsa
This commit is contained in:
parent
da3bbc1c2c
commit
76c3cdbf47
1 changed files with 2 additions and 4 deletions
|
@ -387,12 +387,10 @@ class Interface(PrintError):
|
|||
await self.session.subscribe('blockchain.headers.subscribe', [True], header_queue)
|
||||
while True:
|
||||
item = await header_queue.get()
|
||||
self.print_error(item)
|
||||
print(item)
|
||||
raw_header = item[0]
|
||||
raw_header = item[1]
|
||||
self.print_error(raw_header)
|
||||
print(raw_header)
|
||||
height = raw_header['block_height']
|
||||
height = raw_header['height']
|
||||
header = blockchain.deserialize_header(bfh(raw_header['hex']), height)
|
||||
self.tip_header = header
|
||||
self.tip = height
|
||||
|
|
Loading…
Add table
Reference in a new issue