From 5e84bcd28f4e7de2d9bfd581fb3fb4670f5d3624 Mon Sep 17 00:00:00 2001 From: 4tochka Date: Mon, 6 May 2019 11:23:13 +0400 Subject: [PATCH] connector --- pybtc/connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybtc/connector.py b/pybtc/connector.py index 458d70a..b1ac544 100644 --- a/pybtc/connector.py +++ b/pybtc/connector.py @@ -970,7 +970,7 @@ def decode_block_tx(block): b["header"] = s.read(80).hex() b["bits"] = b["bits"] b["target"] = b["target"] - # b["hash"] = double_sha256(b["header"], hex=0) + b["hash"] = double_sha256(b["header"], hex=0) # b["hash"] = b["hash"] b["rawTx"] = {i: Transaction(s, format="raw")