diff --git a/nucypher/characters.py b/nucypher/characters.py index 519928119..276e4b0a3 100644 --- a/nucypher/characters.py +++ b/nucypher/characters.py @@ -97,8 +97,6 @@ class Character: Character, but there are scenarios in which its imaginable to be represented by zero Characters or by more than one Character. """ - self.config = config # TODO: Do not mix with injectable params - self.federated_only = federated_only self._abort_on_learning_error = abort_on_learning_error @@ -476,7 +474,7 @@ class Character: new_nodes = self.learn_about_nodes(node_addr, port) self._known_nodes.update(new_nodes) - def get_nodes_by_ids(self, ids): + def get_nodes_by_ids(self, node_ids): for node_id in node_ids: try: # Scenario 1: We already know about this node. diff --git a/tests/fixtures.py b/tests/fixtures.py index 5a87219a1..fa7c973e7 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -188,7 +188,8 @@ def mining_ursulas(three_agents): amount=1000000 * constants.M) ursula_addresses = all_yall[:int(constants.NUMBER_OF_URSULAS_IN_NETWORK)] - _ursulas = make_ursulas(ether_addresses=ursula_addresses, + _ursulas = make_ursulas(ursula_starting_port=starting_point, + ether_addresses=ursula_addresses, miner_agent=miner_agent, miners=True, ursula_starting_port=starting_point)