mirror of https://github.com/nucypher/nucypher.git
Include enrico instance when resetting capsule_side_channel for test convenience.
parent
447b9b6e5c
commit
dc202da06e
|
@ -320,7 +320,7 @@ def capsule_side_channel(enacted_federated_policy):
|
|||
def reset(self):
|
||||
self.enrico = Enrico(policy_encrypting_key=enacted_federated_policy.public_key)
|
||||
self.messages = []
|
||||
self()
|
||||
return self(), self.enrico
|
||||
|
||||
return _CapsuleSideChannel()
|
||||
|
||||
|
|
Loading…
Reference in New Issue