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"] address = out["scriptPubKey"]
else: else:
address = b"%s%s" % (bytes([out["nType"]]), out["addressHash"]) address = b"%s%s" % (bytes([out["nType"]]), out["addressHash"])
outpoint = b"%s%s" % (tx["txId"], int_to_bytes(i)) # outpoint = b"%s%s" % (tx["txId"], int_to_bytes(i))
self.utxo.set(outpoint, pointer, out["value"], address) # self.utxo.set(outpoint, pointer, out["value"], address)
async def get_stxo(self, tx, block_height, block_index): async def get_stxo(self, tx, block_height, block_index):
stxo, missed = set(), set() stxo, missed = set(), set()