diff --git a/pybtc/connector/utxo.py b/pybtc/connector/utxo.py index 902ecc3..bf8c389 100644 --- a/pybtc/connector/utxo.py +++ b/pybtc/connector/utxo.py @@ -66,7 +66,7 @@ class UTXO(): block_changed = True lb = i[1][0] >> 42 if lb - 1 == checkpoint: - if len(self.cached) > int(self.size_limit ): + if len(self.cached) > int(self.size_limit * 0.8): if self.checkpoints: checkpoint = self.checkpoints.pop(0) else: