connector

This commit is contained in:
4tochka 2019-05-05 20:49:44 +04:00
parent 5a461b911c
commit c966d53862

View File

@ -627,7 +627,7 @@ class Connector:
if "addressHash" not in out:
address = out["scriptPubKey"]
else:
address = b"%s%s" % (bytes([out["nType"]]), out["addressHash"])
address = b"".join((bytes([out["nType"]]), out["addressHash"]))
outpoint = b"".join((tx["txId"], int_to_bytes(i)))
# self.utxo.set(outpoint, pointer, out["value"], address)