checking if pre-catchup callback exists
@@ -721,6 +721,7 @@ class LedgerManager(HasActionQueue):
proofs[len(proofs) // 2][0][1])
def startCatchUpProcess(self, ledgerId: int, proof: ConsistencyProof):
+ if self.preCatchupClbk:
self.preCatchupClbk(ledgerId)
logger.debug("{} started catching up with consistency proof {}".
format(self, proof))
