From 7429b0ad008f98275d1a59c6a05ea996ac3d26d5 Mon Sep 17 00:00:00 2001 From: derekpierre Date: Tue, 11 Jul 2023 16:31:50 -0400 Subject: [PATCH] Remove unused get_ritual() method in Ritualist. --- nucypher/blockchain/eth/actors.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/nucypher/blockchain/eth/actors.py b/nucypher/blockchain/eth/actors.py index 41b847cef..d187b8676 100644 --- a/nucypher/blockchain/eth/actors.py +++ b/nucypher/blockchain/eth/actors.py @@ -339,13 +339,6 @@ class Ritualist(BaseActor): ThresholdRequestDecryptingPower ) # used for secure decryption request channel - def get_ritual(self, ritual_id: int) -> CoordinatorAgent.Ritual: - try: - ritual = self.ritual_tracker.rituals[ritual_id] - except KeyError: - raise self.ActorError(f"{ritual_id} is not in the local cache") - return ritual - def _resolve_validators( self, ritual: CoordinatorAgent.Ritual,