From a48c385bba8d444df178e56cd484222f372ff971 Mon Sep 17 00:00:00 2001 From: 4tochka Date: Mon, 3 Jun 2019 09:57:55 +0400 Subject: [PATCH] connector --- pybtc/connector/utxo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybtc/connector/utxo.py b/pybtc/connector/utxo.py index 8c92933..9daf25a 100644 --- a/pybtc/connector/utxo.py +++ b/pybtc/connector/utxo.py @@ -77,7 +77,7 @@ class UTXO(): block_changed = True lb = i[1][0] >> 39 if lb - 1 == checkpoint: - if len(self.cached) > int(self.size_limit * 0.95): + if len(self.cached) > int(self.size_limit): if self.checkpoints: checkpoint = self.checkpoints.pop(0) else: