From 7979f0a68372ef4fed30ae083e88dea7e351e5e8 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Mon, 11 Mar 2019 12:26:24 -0400 Subject: [PATCH] typing fix --- torba/client/hash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torba/client/hash.py b/torba/client/hash.py index bb18ee57a..9b0e94f73 100644 --- a/torba/client/hash.py +++ b/torba/client/hash.py @@ -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: