Fix Block_Hash_Hex
This commit is contained in:
parent
f640548e0c
commit
9078b66bbd
@ -274,6 +274,7 @@ class TemplateRegistry(object):
|
|||||||
block_hash_hex = block_hash_bin[::-1].encode('hex_codec')
|
block_hash_hex = block_hash_bin[::-1].encode('hex_codec')
|
||||||
else:
|
else:
|
||||||
block_hash_hex = hash_bin[::-1].encode('hex_codec')
|
block_hash_hex = hash_bin[::-1].encode('hex_codec')
|
||||||
|
else: block_hash_hex = hash_bin[::-1].encode('hex_codec')
|
||||||
# 6. Finalize and serialize block object
|
# 6. Finalize and serialize block object
|
||||||
job.finalize(merkle_root_int, extranonce1_bin, extranonce2_bin, int(ntime, 16), int(nonce, 16))
|
job.finalize(merkle_root_int, extranonce1_bin, extranonce2_bin, int(ntime, 16), int(nonce, 16))
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user