From f84face482b2c3acc93d24b4d704a99d17e9d12d Mon Sep 17 00:00:00 2001 From: 4tochka Date: Mon, 13 May 2019 11:34:00 +0400 Subject: [PATCH] connector --- pybtc/connector/utxo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pybtc/connector/utxo.py b/pybtc/connector/utxo.py index e74c169..f9dc73d 100644 --- a/pybtc/connector/utxo.py +++ b/pybtc/connector/utxo.py @@ -80,7 +80,7 @@ class UTXO(): self.cached.append({i[0]: (pointer, amount, address)}) self.log.critical("checkpoint not found") return - self.log.critical("found checkpoint " + str(lb)) + self.log.critical("found checkpoint " + str(lb) + " len" + str(len(utxo))) # self.log.critical(">" + str(len(self.cached))) # @@ -110,6 +110,7 @@ class UTXO(): # i[2])))) # insert to db + self.log.critical("start " + str(len(utxo))) d = set() async with self._db_pool.acquire() as conn: async with conn.transaction():