From 9b4947ef4607113b5e4c48d1f38d37b500524f44 Mon Sep 17 00:00:00 2001 From: JRG Date: Fri, 14 Aug 2026 22:20:47 +0300 Subject: [PATCH] Destination: clean ratchets to retained_ratchets --- RNS/Destination.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Destination.py b/RNS/Destination.py index 9fc6ab03..c5a65a2d 100755 --- a/RNS/Destination.py +++ b/RNS/Destination.py @@ -206,7 +206,7 @@ class Destination: def _clean_ratchets(self): if self.ratchets != None: if len (self.ratchets) > self.retained_ratchets: - self.ratchets = self.ratchets[:Destination.RATCHET_COUNT] + self.ratchets = self.ratchets[:self.retained_ratchets] def _persist_ratchets(self): try: