connector

This commit is contained in:
4tochka 2019-05-02 00:05:26 +04:00
parent c4b1613f7c
commit 799f633197

View File

@ -851,6 +851,7 @@ def decode_block_tx(block):
s = get_stream(block)
b = dict()
b["amount"] = 0
b["strippedSize"] = 80
b["version"] = unpack("<L", s.read(4))[0]
b["versionHex"] = pack(">L", b["version"]).hex()
b["previousBlockHash"] = rh2s(s.read(32))