asdasdasdas

This commit is contained in:
Thomas Zarebczan 2018-11-16 16:34:35 -05:00
parent 67aa34c7d3
commit c760646182

View file

@ -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])