mirror of https://github.com/nucypher/nucypher.git
Small bug fixes
parent
e7e4927175
commit
2f19b262c4
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue