mirror of https://github.com/nucypher/nucypher.git
Added sentinel for missing return value - see https://github.com/python/mypy/issues/4223#issuecomment-342865133.
parent
5f4b5f5cca
commit
a3b9960fbd
|
@ -58,6 +58,7 @@ class Keypair(object):
|
|||
return SigningKeypair(privkey=key)
|
||||
else:
|
||||
raise ValueError("Unable to determine which type of keypair this is - keypair_byte was {}".format(keypair_byte))
|
||||
assert False
|
||||
|
||||
|
||||
class EncryptingKeypair(Keypair):
|
||||
|
|
Loading…
Reference in New Issue