connector

This commit is contained in:
4tochka 2019-05-05 20:36:29 +04:00
parent f19d649af6
commit 5f4559c4d2

View File

@ -628,8 +628,8 @@ class Connector:
address = out["scriptPubKey"]
else:
address = b"%s%s" % (bytes([out["nType"]]), out["addressHash"])
outpoint = b"%s%s" % (tx["txId"], int_to_bytes(i))
self.utxo.set(outpoint, pointer, out["value"], address)
# outpoint = b"%s%s" % (tx["txId"], int_to_bytes(i))
# self.utxo.set(outpoint, pointer, out["value"], address)
async def get_stxo(self, tx, block_height, block_index):
stxo, missed = set(), set()