From 5a461b911c70ba30b2700f3500fe40cb9cd7e421 Mon Sep 17 00:00:00 2001 From: 4tochka Date: Sun, 5 May 2019 20:43:23 +0400 Subject: [PATCH] connector --- pybtc/connector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybtc/connector.py b/pybtc/connector.py index ce1e925..0f6e24c 100644 --- a/pybtc/connector.py +++ b/pybtc/connector.py @@ -628,7 +628,7 @@ 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)) + outpoint = b"".join((tx["txId"], int_to_bytes(i))) # self.utxo.set(outpoint, pointer, out["value"], address) async def get_stxo(self, tx, block_height, block_index):