diff --git a/nucypher/blockchain/eth/actors.py b/nucypher/blockchain/eth/actors.py index 6cabc6950..b0329e2a8 100644 --- a/nucypher/blockchain/eth/actors.py +++ b/nucypher/blockchain/eth/actors.py @@ -629,9 +629,9 @@ class Worker(NucypherTokenActor): if check_active_worker and not len(self.stakes): raise self.DetachedWorker(f"{self.__worker_address} is not bonded to {self.checksum_address}.") - self.period_tracker = work_tracker or WorkTracker(worker=self) + self.work_tracker = work_tracker or WorkTracker(worker=self) if start_working_now: - self.period_tracker.start(act_now=False) + self.work_tracker.start(act_now=False) @property def last_active_period(self) -> int: diff --git a/nucypher/network/nodes.py b/nucypher/network/nodes.py index 3d0712929..b377996db 100644 --- a/nucypher/network/nodes.py +++ b/nucypher/network/nodes.py @@ -1069,9 +1069,9 @@ class Teacher: def verify_node(self, network_middleware, - certificate_filepath: str = None, - force: bool = False, registry: BaseContractRegistry = None, + certificate_filepath: str = None, + force: bool = False ) -> bool: """ Three things happening here: diff --git a/tests/blockchain/eth/entities/actors/test_worker.py b/tests/blockchain/eth/entities/actors/test_worker.py index 329c6aaac..f767875fe 100644 --- a/tests/blockchain/eth/entities/actors/test_worker.py +++ b/tests/blockchain/eth/entities/actors/test_worker.py @@ -46,7 +46,7 @@ def test_worker_auto_confirmations(testerchain, def start(): # Start running the worker start_pytest_ursula_services(ursula=ursula) - ursula.period_tracker.start() + ursula.work_tracker.start() def time_travel(_): testerchain.time_travel(periods=1)