mypy fakewallet, macaroon, bolt11 invoice

This commit is contained in:
dni
2022-07-25 12:03:06 +02:00
parent 808bd36e23
commit 8e9b3190e4
3 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ class AESCipher(object):
final_key += key
return final_key[:output]
def decrypt(self, encrypted: str) -> str:
def decrypt(self, encrypted) -> str:
"""Decrypts a string using AES-256-CBC."""
passphrase = self.passphrase
encrypted = base64.b64decode(encrypted)