From 1df05a011023516d4a9886e041ec9bc935900da4 Mon Sep 17 00:00:00 2001 From: 4tochka Date: Fri, 3 May 2019 15:09:58 +0400 Subject: [PATCH] connector --- pybtc/connector.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pybtc/connector.py b/pybtc/connector.py index 030fd15..a8aac95 100644 --- a/pybtc/connector.py +++ b/pybtc/connector.py @@ -752,7 +752,7 @@ class UTXO(): c = len(self.cached) - self._cache_size try: self.save_process = True - + self.log.critical(str([k for k in iter(self.destroyed)])) for key in iter(self.destroyed): if key < block_height: n = set() @@ -774,8 +774,8 @@ class UTXO(): i = self.cached[key] if (c>0 or lb == i[0] >> 42) and (i[0] >> 42) < block_height: rs.add((key,b"".join((int_to_c_int(i[0]), - int_to_c_int(i[1]), - i[2])))) + int_to_c_int(i[1]), + i[2])))) ln.add(key) lb = i[0] >> 42 c -= 1