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