From 73f28b62a414705490f653794183255ded501fe4 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 5 Jul 2023 21:28:53 +0300 Subject: [PATCH] chore: Drop unused code in linearize-data.py --- contrib/linearize/linearize-data.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/contrib/linearize/linearize-data.py b/contrib/linearize/linearize-data.py index ef489cbf63..848b0a4f33 100755 --- a/contrib/linearize/linearize-data.py +++ b/contrib/linearize/linearize-data.py @@ -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)