mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 11:32:46 +01:00
chore: Drop unused code in linearize-data.py
This commit is contained in:
parent
591da75630
commit
73f28b62a4
@ -48,17 +48,7 @@ def wordreverse(in_buf):
|
||||
return b''.join(out_words)
|
||||
|
||||
def calc_hdr_hash(blk_hdr):
|
||||
#hash1 = hashlib.sha256()
|
||||
#hash1.update(blk_hdr)
|
||||
#hash1_o = hash1.digest()
|
||||
|
||||
#hash2 = hashlib.sha256()
|
||||
#hash2.update(hash1_o)
|
||||
#hash2_o = hash2.digest()
|
||||
|
||||
#return hash2_o
|
||||
pow_hash = dash_hash.getPoWHash(blk_hdr)
|
||||
return pow_hash
|
||||
return dash_hash.getPoWHash(blk_hdr)
|
||||
|
||||
def calc_hash_str(blk_hdr):
|
||||
hash = calc_hdr_hash(blk_hdr)
|
||||
|
Loading…
Reference in New Issue
Block a user