connector
This commit is contained in:
parent
5d175eeefb
commit
c4b1613f7c
@ -850,6 +850,7 @@ def get_stream(stream):
|
||||
def decode_block_tx(block):
|
||||
s = get_stream(block)
|
||||
b = dict()
|
||||
b["amount"] = 0
|
||||
b["version"] = unpack("<L", s.read(4))[0]
|
||||
b["versionHex"] = pack(">L", b["version"]).hex()
|
||||
b["previousBlockHash"] = rh2s(s.read(32))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user