mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
asdasdasdas
This commit is contained in:
parent
67aa34c7d3
commit
c760646182
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ def deserialize_header(s: bytes, height: int) -> dict:
|
||||||
h = {}
|
h = {}
|
||||||
h['version'] = hex_to_int(s[0:4])
|
h['version'] = hex_to_int(s[0:4])
|
||||||
h['prev_block_hash'] = hash_encode(s[4:36])
|
h['prev_block_hash'] = hash_encode(s[4:36])
|
||||||
|
h['merkle_root'] = hash_encode(s[36:68])
|
||||||
h['claim_trie_root'] = hash_encode(s[68:100])
|
h['claim_trie_root'] = hash_encode(s[68:100])
|
||||||
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])
|
||||||
|
|
Loading…
Add table
Reference in a new issue