Exact state I'm planning to demo.

pull/775/head
jMyles 2019-02-15 10:26:38 -07:00 committed by Kieran R. Prasch
parent 351569b05b
commit 1825f0de8e
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)