forked from LBRYCommunity/lbry-sdk
typing fix
This commit is contained in:
parent
d9df2ead84
commit
7979f0a683
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ def hex_str_to_hash(x):
|
|||
return reversed(unhexlify(x))
|
||||
|
||||
|
||||
def aes_encrypt(secret: str, value: str, init_vector: bytes = None) -> typing.Tuple[str, bytes]:
|
||||
def aes_encrypt(secret: str, value: str, init_vector: bytes = None) -> str:
|
||||
if init_vector is not None:
|
||||
assert len(init_vector) == 16
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue