mirror of https://github.com/nucypher/nucypher.git
Exact state I'm planning to demo.
parent
351569b05b
commit
1825f0de8e
|
@ -552,7 +552,7 @@ class Bob(Character):
|
|||
try:
|
||||
request_data = json.loads(request.data)
|
||||
|
||||
label = b64decode(request_data['label'])
|
||||
label = request_data['label']
|
||||
alice_pubkey_sig = bytes.fromhex(request_data['alice_signing_pubkey'])
|
||||
except (KeyError, JSONDecodeError) as e:
|
||||
return Response(e, status=400)
|
||||
|
|
|
@ -378,7 +378,7 @@ class NodeConfiguration(ABC):
|
|||
storage_type = storage_payload[NodeStorage._TYPE_LABEL]
|
||||
storage_class = node_storage_subclasses[storage_type]
|
||||
node_storage = storage_class.from_payload(payload=storage_payload,
|
||||
character_class=cls._CHARACTER_CLASS,
|
||||
# character_class=cls._CHARACTER_CLASS, # TODO: Do not pass this here - Always Use Ursula
|
||||
federated_only=payload['federated_only'],
|
||||
serializer=cls.NODE_SERIALIZER,
|
||||
deserializer=cls.NODE_DESERIALIZER)
|
||||
|
|
Loading…
Reference in New Issue