mirror of https://github.com/nucypher/nucypher.git
Python 3.5 doesn't like inline type-hints for variables. This can be a class anyway.
parent
8c810219a1
commit
f7539f7575
|
@ -104,7 +104,7 @@ class CryptoPowerUp(object):
|
|||
|
||||
class KeyPairBasedPower(CryptoPowerUp):
|
||||
|
||||
_keypair_class: Type[keypairs.Keypair] = None
|
||||
_keypair_class = keypairs.Keypair
|
||||
|
||||
def __init__(self, keypair: keypairs.Keypair=None, pubkey_bytes: bytes=None) -> None:
|
||||
if keypair and pubkey_bytes:
|
||||
|
|
Loading…
Reference in New Issue