From 2df627b1d7e9575dd55c848b25c32d8a65e68c35 Mon Sep 17 00:00:00 2001 From: 4tochka Date: Wed, 8 May 2019 01:06:26 +0400 Subject: [PATCH] connector --- pybtc/connector/connector.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pybtc/connector/connector.py b/pybtc/connector/connector.py index 7369167..3cd7a75 100644 --- a/pybtc/connector/connector.py +++ b/pybtc/connector/connector.py @@ -369,11 +369,8 @@ class Connector: self.block_headers_cache.set(block["hash"], block["height"]) self.last_block_height = block["height"] if self.utxo_data: - # if not self.deep_synchronization: - # self.utxo.destroy_utxo(block["height"]) - # elif block["height"] % 1000 == 0: - # self.utxo.destroy_utxo(block["height"]) - pass + self.utxo.destroy_utxo(block["height"]) + self.blocks_processed_count += 1