mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
header fix
This commit is contained in:
parent
f975244e16
commit
e12e31191a
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ def deserialize_header(s: bytes, height: int) -> dict:
|
||||||
h['timestamp'] = hex_to_int(s[100:104])
|
h['timestamp'] = hex_to_int(s[100:104])
|
||||||
h['bits'] = hex_to_int(s[104:108])
|
h['bits'] = hex_to_int(s[104:108])
|
||||||
h['nonce'] = hex_to_int(s[108:112])
|
h['nonce'] = hex_to_int(s[108:112])
|
||||||
h['block_height'] = height
|
h['height'] = height
|
||||||
return h
|
return h
|
||||||
|
|
||||||
def hash_header(header: dict) -> str:
|
def hash_header(header: dict) -> str:
|
||||||
|
|
Loading…
Add table
Reference in a new issue