mirror of https://github.com/nucypher/nucypher.git
Storing cert without host in forgetful storage.
parent
f93f3f1987
commit
53d4c70d9d
|
@ -727,8 +727,7 @@ class Ursula(Teacher, Character, Miner):
|
|||
certificate = network_middleware.get_certificate(host=host, port=port)
|
||||
real_host = certificate.subject.get_attributes_for_oid(NameOID.COMMON_NAME)[0].value
|
||||
temp_node_storage = ForgetfulNodeStorage(federated_only=federated_only)
|
||||
certificate_filepath = temp_node_storage.store_host_certificate(host=real_host,
|
||||
certificate=certificate)
|
||||
certificate_filepath = temp_node_storage.store_host_certificate(certificate=certificate)
|
||||
# Load the host as a potential seed node
|
||||
potential_seed_node = cls.from_rest_url(
|
||||
host=real_host,
|
||||
|
|
Loading…
Reference in New Issue