diff --git a/src/keri/db/basing.py b/src/keri/db/basing.py index e119b9ed..74c1951e 100644 --- a/src/keri/db/basing.py +++ b/src/keri/db/basing.py @@ -1224,12 +1224,9 @@ def clearEscrows(self): ('gpse', self.gpse, 'group partial signature escrow'), ('epse', self.epse, 'exchange partial signature escrow'), ('dune', self.dune, 'delegated unanchored escrow')]: - count = 0 - for (k, _) in escrow.getItemIter(): - count += 1 escrow.trim() - # logger.info(f"KEL: Cleared {count} escrows from ({name.ljust(5)}): {desc}") - logger.info(f"Cleared all escrows") + logger.info(f"KEL: Cleared escrow ({name.ljust(5)}): {desc}") + logger.info("Cleared KEL escrows") @property def current(self): diff --git a/src/keri/vdr/viring.py b/src/keri/vdr/viring.py index bafc2b74..409b510c 100644 --- a/src/keri/vdr/viring.py +++ b/src/keri/vdr/viring.py @@ -416,13 +416,11 @@ def clearEscrows(self): ('cmse', self.cmse, 'missing signature escrows'), ('tpwe', self.tpwe, 'partial witness escrows'), ('tmse', self.tmse, 'multisig escrows'), - ('tede', self.tede, 'event dissemination escrows'), + ('tede', self.tede, 'event dissemination escrows') ]: - count = 0 - for (k, _) in sub.getItemIter(): - count += 1 sub.trim() - logger.info(f"TEL: Cleared {count} escrows from ({name.ljust(5)}): {desc}") + logger.info(f"TEL: Cleared escrow ({name.ljust(5)}): {desc}") + logger.info("Cleared TEL escrows") def cloneCreds(self, saids, db): """ Returns fully expanded credential with chained credentials attached.