fix indent

This commit is contained in:
Thomas Zarebczan 2018-11-16 13:43:07 -05:00
parent 3c973bf8b1
commit cdb57e4fce

View file

@ -45,7 +45,7 @@ def serialize_header(header_dict: dict) -> str:
s = int_to_hex(header_dict['version'], 4) \ s = int_to_hex(header_dict['version'], 4) \
+ rev_hex(header_dict['prev_block_hash']) \ + rev_hex(header_dict['prev_block_hash']) \
+ rev_hex(header_dict['merkle_root']) \ + rev_hex(header_dict['merkle_root']) \
+ rev_hex(res.get('claim_trie_root')) + rev_hex(res.get('claim_trie_root')) \
+ int_to_hex(int(header_dict['timestamp']), 4) \ + int_to_hex(int(header_dict['timestamp']), 4) \
+ int_to_hex(int(header_dict['bits']), 4) \ + int_to_hex(int(header_dict['bits']), 4) \
+ int_to_hex(int(header_dict['nonce']), 4) + int_to_hex(int(header_dict['nonce']), 4)